Syusaku Takara
Posts: 14
Joined: Mon Nov 02, 2009 1:52 pm

APPDIR value is not installed directory when uninstalling.

Dear Support members.

APPDIR property is always set default "Application Folder" name when uninstalling.

I created an installer that "Application Folder" is "[ProgramFilesFolder][Manufacturer]\MyApp".
And I installed it into original folder as "[ProgramFilesFolder][Manufacturer]\MyOriginalAppFolder".

And when I run an uninsaller, APPDIR property is set original as "[ProgramFilesFolder][Manufacturer]\MyApp".

Other directory names are set proper folder as "[ProgramFilesFolder][Manufacturer]\MyOriginalAppFolder".

I want to detect a installed folder to transferring it to script.

Please let me know how to get correct installed folder path.

Thanks and Regards,
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: APPDIR value is not installed directory when uninstalling.

Hello,

Please note that properties do not maintain their values between installs/uninstalls. The easiest approach is to store the property's value inside a registry value, then restore it using a search.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”