Wrox Programmer Forums
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 30th, 2003, 05:27 AM
Authorized User
 
Join Date: Jun 2003
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default package & deployment prob

Hi All,

I need to include a file that resides in the $(WinSysPath) Drivers Path. In the screen that gives where to deploy files, what syntax do I use to do this. E.g.

I want the file to deploy into
C:\winnt\system32\drivers.
But in the deployment option the nearest I get is $(WinSysPath)

regards
Bill
 
Old June 30th, 2003, 08:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jlick
Default

As you have not stated what you are using to create your deployment, I am assuming that you are using the package & deployment wizard. If this is the case, you can do the following. Create the package with the DLL, that you want in the drivers subfolder as (WinSysPath). Then go into the SETUP.LST file that is created and add the sub folder for that DLL. E.G.:

Was:
[email protected],$(WinSysPath),$(DLLSelfRegist er),,6/27/03 6:47:33 AM,98304,10.1.0.7

New:
[email protected],$(WinSysPath)\Drivers,$(DLLSe lfRegister),,6/27/03 6:47:33 AM,98304,10.1.0.7

This will put the file in the subfolder drivers of the WinSysPath (NT/2k) ...\WINNT\SYSTEM32\DRIVERS

You need to be careful when doing this that there is an appropriate sub folder. On some OS's this may not be the case.




John R Lick
[email protected]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Package and Deployment - XLStart Up Shasur Excel VBA 1 January 10th, 2006 02:21 PM
Package Deployment Problem bveerendrakumar Pro VB 6 8 March 16th, 2005 05:05 AM
Package and Deployment rwalker VS.NET 2002/2003 2 February 27th, 2004 09:44 AM
DTS Package Deployment acdsky VB Databases Basics 1 February 22nd, 2004 12:25 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.