deployment with custom action

G

Guest

I need to deploy a couple of sets of third party drivers with my application
and the customer would like the whole thing to run automatically when they
put in the installation CD. These drivers come with their own setup files.
My plan was to put these in seperate directories on the distribution CD and
use custom actions to run them after my main installation e.g.

path1\setup1.exe parm1 parm2
path2\setup2.exe parm3 parm4

The setups can be run directly from the cd BUT I can't figure out how to set
the path component so it references the root directory of the installation CD.
Can someone please help me with this.
Is there another simpler approach?
 
P

Phil Wilson

Try passing [OriginalDatabase] (case-sensitive) in the CustomActionData to
your custom action. On the original install it's the path to your MSI file,
so you can parse it to get that installation directory.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top