Link to home
Start Free TrialLog in
Avatar of michealmess
michealmess

asked on

Customize Setup

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.
Avatar of twalgrave
twalgrave

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

ASKER CERTIFIED SOLUTION
Avatar of Mohammed Nasman
Mohammed Nasman
Flag of Palestine, State of image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Avatar of michealmess

ASKER

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?
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.
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.
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.
With help from someone else i solved my problem, You did point me in the right direction however. Thanks.