Link to home
Start Free TrialLog in
Avatar of JeffvClayton
JeffvClayton

asked on

Deployment Custom Action

I have created a Windows Set-up and Deployment Package for an application. Each User will require a database file with different contents specific to them to be installed. So instead of re-building the install package every time I want to just place the unique database file on to the installation cd and have it automatically copied to the users chosen installation locaton.

 I know I am supposed to create a custom installer class to include with the package, but how do you know what target path the user has chosen for the installation i.e. Is it a property that is available when coding the custom install class?  Anyone have an example e.g. Copy app.path\data.mdb        targetpath\data.mdb    
ASKER CERTIFIED SOLUTION
Avatar of Bill-Hanson
Bill-Hanson
Flag of United States of America 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
Avatar of JeffvClayton
JeffvClayton

ASKER

Many thanks Bill, I had almost got there but I had'nt quite got the syntax for passing 2 parameters e.g. source and target, I had in error a ';' between the two just for luck!

Now all works fine.  I have also put my dll primary output unnder the Commit node as i wanted to make sure everything else was installed/folders set-up first.

Regards

Jeff