
talaviss1.5524940755503394E12 asked a question.
windows 7 and integrity level
at the end of the install i am running the exe of our product
the problem is that it is not running with the integrity level token set to medium
so not all the features works well.
how can i set the application to run in medium integrity level from setup
In code i'm using
LaunchApp (TARGETDIR ^ "xxx.exe", "")
There's no great way to do this in an InstallScript project (which I'm assuming you're using, due to the reference to TARGETDIR). A Basic MSI project leverages Windows Installer's multiple process architecture, and runs the UI non-elevated so long as the bootstrap doesn't elevate it; in this scenario the UI can then launch the program at the end as the original user because the context hasn't been lost. The only approach I could imagine for InstallScript would be to try to match this architecture, creating an external limited-user UI project which then installs or removes an internal elevated project silently. This is not likely to be trivial.