Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 30th, 2003, 05:27 AM
Authorized User
 
Join Date: Jun 2003
Location: Great Dunmow, Essex, United Kingdom.
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
Reply With Quote
  #2 (permalink)  
Old June 30th, 2003, 08:51 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: Sparks, NV, USA.
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:
File7=@MyLibrary.dll,$(WinSysPath),$(DLLSelfRegist er),,6/27/03 6:47:33 AM,98304,10.1.0.7

New:
File7=@MyLibrary.dll,$(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
JohnRLick@hotmail.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:08 PM.


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