Geeks With Blogs

News This blog has moved to
Shailen Sukul blog 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

Copyright © Shailen Sukul | Powered by: