Hi,
1. I have a custom action which will be executed at the time of uninstall. This is working fine when we uninstall from add or remove or using exe.
Its not raised when u use a shortcut icon - start- allprograms- MyUninstaller... how can i make the shortcut to raise the custom action??
When the uninstall shortcut is launched the uninstallation begin with the "Install Execution Stage" and uses only Basic User Interface. So, if you want your custom action to run when you use the uninstall shortcut, you can add it with sequence in the "Install Execution Stage".
2. In our API project we have custom diolgs. I want this disalogs to displayed only at the time of installation but not at the time of upgrade. How can i achive this??
You can go in the Dialogs page, right click on your custom dialogs, select "Show only if..." and in the "Expression" text filed write the "NOT OLDPRODUCTS" condition.
3. I want to Launch an application after installation. For this I am using Finish Action. I want to run this as "Run As Administrator". I colud find this optiop for all the
shortcuts. But, how can I apply to this ?
There are many solutions you can use to achieve this:
1. The recommended solution is to follow the last method described in the
How do I launch a file after an installation article but use the "Launch file as Administrator" custom action instead of "Launch file or open URL" custom action.
2. Another solution is to go in the Install Parameters page and chec "Run as administrator" checkbox, but in this case the whole package will run as administrator when it will be launched and its type will be changed from MSI to EXE.
3. The last solution is to
create and embed an application manifest with the application that you want to run as administrator, but in this case it will always be launched as administrator not only after the installation of your package.
Let us know if this helped, otherwise give us more details about your scenario.
Best regards,
Eusebiu
FOLLOW US
Get the latest news in Application Packaging