Click to See Complete Forum and Search --> : Package & Deployment Wizard installation path
Guru
Apr 18th, 2006, 10:14 AM
I have a set of applications which I want to install in a single directory
eg C:\Program Files\My Progs
I'm using the Package & Deployment Wizard but it wants to create a separate directory for each app
eg C:\Program Files\[app name]
How can I override this?
Thanks
MartinLiss
Apr 18th, 2006, 10:22 AM
I guess you must be clicking "Finish" too soon because one of the windows you would otherwise see lets you choose the folder for your project.
BTW I moved your thread to here.
Guru
Apr 18th, 2006, 10:31 AM
No!
Even changing the install location of the .exe on the "Install Locations" screen makes no difference.
:mad:
MartinLiss
Apr 18th, 2006, 10:42 AM
Sorry but I may have misunderstood what tou were asking about. In any case when you create the package you get a screen like pic1 and when you install you get a screen like pic2. One of those two places should allow you to solve your problem.
Guru
Apr 18th, 2006, 10:51 AM
pic1 is for choosing where the cab files are going to be written
pic2 id for instalation like you say.
I want the path in pic2 to default to c:\program files\my apps
but it defaults to c:\program files\[app name]
Probably just another example of Micros$oft's "we know best attitude" :mad:
RobDog888
Apr 18th, 2006, 11:15 AM
In the Start menu items form you can create a new program group where ever you need. Then you can assign what files go where in one of the other screens. Sounds like you have a few programs that you want installed under one program group but each program to have its own sub menu item.
Hack
Apr 18th, 2006, 11:43 AM
Have you given Inno Setup a try. I don't have any first hand experience with it. My company uses Wise, but I've seen many a post on these here forums on folks extolling its flexibility and configurability.
MartinLiss
Apr 18th, 2006, 04:11 PM
I just had a thought. The Setup Wizard is a VB app and so you can change it. The path to it is C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1\Setup1.vbp and if you look for "Program Files" you'll find a couple of places here you could change the default.
RobDog888
Apr 18th, 2006, 05:33 PM
If you change the P&D code and recompile, dont forget to make a backup of the project first. ;)
Guru
Apr 21st, 2006, 06:13 AM
Thanks for the replies etc
If I just edit DefaultDir=
in the [Setup] section
of SETUP.LST
it works
Not ideal but it will do.
Thanks
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.