Customize Setup

michealmess
michealmess used Ask the Experts™
on
I have written a VB program with the data being Microsoft Access. I have a setup program created using the Package and Deployment Wizard. I would like to customize the setup routine, which would allow me to choose a destination for the program and a destination for the data. Can this be done? At the moment the program and data get installed to the same location.
Any help is appreciated.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I would recommend moving from the Package and Deployment Wizard into Visual Studio Installer.  It allows full customization of your install script. Get it here(free) at http://msdn.microsoft.com/vstudio/downloads/tools/vsi/download.asp

Software Developer
Commented:
Hello

   You can modify the Setup program, the source include with vb, look at
\Microsoft Visual Studio\VB98\Wizards\PDWizard\Setup1

but make a copy and change to be able to return the original one

Best regards
Mohammed Nasman

Commented:
It is possible within the PWD wizard. When you specify the files to be installed scroll to your right and the path where these files will be installed is mentioned. Change the path according to your choice.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
I know you can modify the source code of the setup program but is there anyway I can tell the setup program to install the exe and the data into different locations of the users choice?

Commented:
When the installation starts at the user end the user is always asked about the path he/she wants to install the application on. This way the user can always install the program in different location other than the defualt location specified by the program.

Author

Commented:
Thats fine. But I want the user to be asked where to install the data and where to install the program. I want the user to decide where both go. I want them in different locations.

Commented:
Oh that to best of my knowledege is not possible with PWD or Visual Studio Installer. It will be possible with other programs like Install shield and there also you will have to club two packages in one so that the application is installed by the first package and the database by second.

Author

Commented:
With help from someone else i solved my problem, You did point me in the right direction however. Thanks.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial