Target Folder Incorrect
Posted: Tue Sep 22, 2020 2:47 pm
Installaware X11 Developer
When going through installation, the Target Folder I enter in IA Project Properties is not always what's entered when the user goes through the install process. It seems to be about 50/50 whether the correct path displays as I set it or IA inserts “Program Files (x86)” into the path.
I removed the “Program Files (x86)” from the Target in Project Properties:

However, when users go through the install, “Program Files (x86)” gets inserted into the install path and that’s where customers end up installing to.

I have a message in the Read Me to tell users to install into c:\presstimator instead of c:\program files\presstimator, but most people don’t read the Read Me so they just go through the defaults. I’m not sure why/when/what circumstances IA adds back in the “Program Files (x86)” instead of using my Target Folder.
Any idea how to have IA use my Target Folder without “Program Files (x86)” be added?

I have users install to root c:\presstimator because I’m using a SQL Server LocalDB for my trial software. When installing to “program files”, Microsoft can restrict read/write to the folder so my trial software won’t work correctly. I also have report template files that are loaded and Microsoft can block access to those as well. Microsoft (and businesses I’m selling to) can be very restrictive with what they allow as far as read/write in the “program files” folder so I try and avoid this by installing to root c: drive as the default. However, IA will sometimes insert the “Program Files (x86)” into the path. When users call me because they get a read/write error, I have them un-install from the “program files” folder and then re-install and make sure the path is root c drive. Then, everything works perfectly. That’s why I need to have the path stay what I set it to instead of including “Program Files (x86)”.
Here’s the only stuff I see in the script that deals with the path so I don’t know how it gets changed:



From this, I could see if they had a previous installation to “Program Files (x86)”, then it would see that old target and use it, but this seem to happen for new installs.
Thanks.
When going through installation, the Target Folder I enter in IA Project Properties is not always what's entered when the user goes through the install process. It seems to be about 50/50 whether the correct path displays as I set it or IA inserts “Program Files (x86)” into the path.
I removed the “Program Files (x86)” from the Target in Project Properties:
However, when users go through the install, “Program Files (x86)” gets inserted into the install path and that’s where customers end up installing to.

I have a message in the Read Me to tell users to install into c:\presstimator instead of c:\program files\presstimator, but most people don’t read the Read Me so they just go through the defaults. I’m not sure why/when/what circumstances IA adds back in the “Program Files (x86)” instead of using my Target Folder.
Any idea how to have IA use my Target Folder without “Program Files (x86)” be added?

I have users install to root c:\presstimator because I’m using a SQL Server LocalDB for my trial software. When installing to “program files”, Microsoft can restrict read/write to the folder so my trial software won’t work correctly. I also have report template files that are loaded and Microsoft can block access to those as well. Microsoft (and businesses I’m selling to) can be very restrictive with what they allow as far as read/write in the “program files” folder so I try and avoid this by installing to root c: drive as the default. However, IA will sometimes insert the “Program Files (x86)” into the path. When users call me because they get a read/write error, I have them un-install from the “program files” folder and then re-install and make sure the path is root c drive. Then, everything works perfectly. That’s why I need to have the path stay what I set it to instead of including “Program Files (x86)”.
Here’s the only stuff I see in the script that deals with the path so I don’t know how it gets changed:



From this, I could see if they had a previous installation to “Program Files (x86)”, then it would see that old target and use it, but this seem to happen for new installs.
Thanks.