Prevent the user changing the install location filepath
Is there a way to prevent the user from changing the install location filepath? in setup and deployment. I have seen this done before on many other software installers and cant seem to re-create this on mine. There doesnt appear to be a option to switch this feature off. I have searched google and forums and cant find any help on how to do this.
Thanks for any help anyone can give in advance
Re: Prevent the user changing the install location filepath
Most people don't use premade installers, they make their own installer if they are a big company, and they code that into the installer. If you want to use VB.Net to do this then you can do this
Code:
If my.computer.filesystem.DirectoryExists("Dir Here") then
Re: Prevent the user changing the install location filepath
VB5 had a "Setup Wizard" and VB6 had a "Package and Deployment Wizard." I assume you are referring to one of those.
I'm not really sure why you'd want to do this. Users need to be able to change the install location for a number of reasons. Even if you create a Windows Installer package and suppress the the install location in that (an easy task) users can override the location by setting a value for the INSTALLDIR property.
Maybe if you described the problem this causes people may suggest another solution that works for you.
Re: Prevent the user changing the install location filepath
The P&D Wizard is a VB6 program that you can modify however you want and one of those modifications could be the hard-coding of the installation path, but why do you need to do that?