-
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?
-
Create your own Installer
------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.
-
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.
-
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
-
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]