Hi,
Is there a way to not allow the user to change the directory where the program will be installed?
Editing the Setup.Lst file maybe?
Thanks,
Al.
Printable View
Hi,
Is there a way to not allow the user to change the directory where the program will be installed?
Editing the Setup.Lst file maybe?
Thanks,
Al.
Hi,
There is a way to do this - it is called "Ditch the awful package and deployment wizard"!!!!
If you go to the msdn.microsoft.com site you should be able to search for and download the "Windows Installer" creator. This creates .MSI files which are automatically processed by a service that runs under windows - there are so many advantages to using this too
1) full control over the location - it even creates registry entries for you at install time - cool!
2) Reduces the overall size of your distributed files - there is no stored screens, etc...
3) You can deploy a single file - makes things so easy!
I have created windows installer packages and deployed them to WinNT 4 and W2K - havent tried XP although I am sure it will work!
Check it out..
DJ Catboy
I haven't had occasdion to look at the VB6 setup program code, but back when I was using VB5 I modified the VB code behind Setup1.exe to warn a user if they changed the installation directory to something other than the default. I did that by modifying the code in frmPath.cmdOK_Click. You could do something similar and force the choice back to the default, or you could simply disable the txtPath textbox.
Thanks. I found in setup1.frm in the Form_Load event a place to force the installation in the default directory listed in Setup.Lst.
I'm also going to explore the Windows Installer idea.
Thanks again.
Al.