Hello Mac,
Thank you very much for the information
You are always welcome. My pleasure to help.
My appologies for not totaly understanding whis APPDIR concept in the installer I have never had a reason to use it
No worries, that is why I am here. Please let me try to explain what APPDIR is:
First of all, let's try to explain what a Windows Installer Property is. Properties are global variables used by Windows Installer during an installation.
APPDIR is a Windows Installer property and it stores the installation path of your files. The default path of APPDIR can be seen in the
"Install Parameters" page -->
"Application folder:" field and it's default value is the following:
[ProgramFilesFolder][Manufacturer]\[ProductName]
where:
[ProgramFilesFolder] is a property that stores the following value:
"C:\Program Files (x86)"
[Manufacturer] is a property that stores the value of the
"Product Details" page -->
"Publisher" field
[ProductName] is a property that stores the value of the
"Product Details" page -->
"Name" field
- Properties.PNG (6.25 KiB) Viewed 6869 times
By default, in a newly created Advanced Installer project (without modifying anything), the APPDIR property has the following value:
C:\Program Files (x86)\Your Company\Your Application\
and this value changes in the moment a user chooses another installation directory:
- APPDIR.PNG (24.13 KiB) Viewed 6869 times
Hope things are more clear now for you in what regards the APPDIR property.
I tested install and uninstall on win7 and win10 using default and custom (user chosed) install directories and all seems to work fin as is
I am glad this works for you. As I have stated in my previous thread, it only affects you in certain scenarios.
By checking that option, the APPDIR folder will be created and its value will be preserver during Maintenance/Upgrade.
Hope things are more clear for you now.
All the best,
Catalin