How do I get the executable name during the Custom Installer Action of a setup?

134 views Asked by At

I'm trying to get the executable name for my project during the custom action portion of my installation. For this reason it seems I can't use anything in System.Reflection which limits my options considerably. I am able to get the target direction via the /targetdir="[TARGETDIR]\" attribute in CustomActionData and then using:

Context.Parameters["targetdir"]

But I can't seem to get the actual exe name to finish of the path. Any thoughts?

0

There are 0 answers