APPDIR variable not set through uninstall? - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

SubZero
Posts: 63
Joined: Mon Mar 14, 2011 10:29 am

APPDIR variable not set through uninstall?

Hi advanced installer team,
during uninstall I would like to know the path of the application for a custom action. I tried to get it using Session.Property("APPDIR") but it seems to be not filled on uninstall. How do I get the path instead? Is there a property I can use?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: APPDIR variable not set through uninstall?

Hi,

Since "APPDIR" is the identifier of the folder is should be set to the original install path. The property could appear empty only if you are trying to use it before "CostFinalize" standard action,
when all paths are computed by Windows Installer.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”