Click to See Complete Forum and Search --> : Prevent the user changing the install location filepath
appolospb
Oct 1st, 2009, 04:11 AM
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
GizSho
Oct 24th, 2009, 07:09 AM
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
If my.computer.filesystem.DirectoryExists("Dir Here") then
dilettante
Oct 25th, 2009, 03:46 PM
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.
MartinLiss
Oct 26th, 2009, 10:59 AM
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?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.