posts - 18, comments - 23, trackbacks - 1

My Links

News

This blog has moved to http://shailen.sukul.org

Article Categories

Archives

Post Categories

October 2006 Entries

How to get the target directory (TARGETDIR) in a customer windows installer
I hope the following will save you some time when dealing with custom windows installers. If you want to access the installation path in your customer installer class, your first instinct might be to use a [TARGETDIR] or [INSTALLDIR] as a custom action (for example /DIR=[TARGETDIR]) and attempt to access that in your custom installer class (for example. dir = Context.Parameters[“D... This will fail, since the TARGET is populated AFTER the custom action is executed. I printed out the...

Posted On Wednesday, October 11, 2006 11:48 AM | Feedback (11) | Filed Under [ Windows Installer ]

Powered by: