deployment with custom action

  • Thread starter Thread starter Guest
  • Start date Start date
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?
 
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.
 
Back
Top