|
-
Nov 8th, 1999, 05:32 AM
#1
Thread Starter
New Member
When the Setup Wizard is run it creates the file setup.exe. When Setup.exe is run, it asks if you want to install in such-and-such a directory or you want to change it.
I DON'T WANT THE USER TO CHANGE IT, since my program looks for files in C:\MyDirectory. Anyway to FORCE it to install in C:\MyDirectory?
-
Nov 8th, 1999, 06:00 AM
#2
Fanatic Member
Create your own Installer
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
Nov 8th, 1999, 06:36 AM
#3
Addicted Member
Hi. Try modifiying the setup program that is in your VB Dir. For example: You may make that form's field read only, OR go to the code and modifiy it to your needs.
Good Luck.
-
Nov 8th, 1999, 07:16 AM
#4
You don't need to do any of the above. Just add an ForceUseDefDir=1 (or perhaps it's ForceUseDefDir=True) to the [Setup] section of your setup.lst file.
------------------
Marty
-
Nov 8th, 1999, 08:25 AM
#5
Lively Member
Why are you working against yourself? Don't worry about where the setup wizard install's your application, instead of looking for files/calling files like, C:\ExampleDir, use App.Path. That way, doesn't matter where the files go, it'll find them no matter what.
------------------
Ryan French
Niresoft Incorporated
http://www.niresoft.com
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|