This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- INSTALLDIR is not C:\Program Files (x86) if user S...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 19, 2014
01:23 PM
INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
Our setup program lets users specify the folder to install the program. If they choose C:\program files on a 64-bit system, our INSTALLDIR value is set to that. However, the files get installed in the C:\Program Files (x86) folder. We need the INSTALLDIR variable (or some other variable) to reflect the actual folder name where the file is installed since we need to update registries, shortcuts, etc. to reflect this.
How do we get the actual folder name when InstallShielld makes that change behind the scenes? Thanks.
How do we get the actual folder name when InstallShielld makes that change behind the scenes? Thanks.
21 Replies
TurboFisch
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 19, 2014
01:48 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
All x32 programs go into c:\program files (x86).
Don't think you want to mix x32 in the x64 directory.
Don't think you want to mix x32 in the x64 directory.
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 19, 2014
01:55 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
I agree. But in this case, I'm not specifying the folder name. The user is, and they've specified the wrong folder. InstallShield installs it in the proper folder (x86) which is great, but it doesn't update the INSTALLDIR value which is what the user specified. I need to know what folder the files are being installed in this situation. Is this kept in another variable? Any suggestions?
TurboFisch wrote:
All x32 programs go into c:\program files (x86).
Don't think you want to mix x32 in the x64 directory.
Roman1
Flexera beginner
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
09:10 AM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
Files which are copied by 32-Bit setup go always into c:\program files (x86)
It is so.
It is so.
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
09:37 AM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
Thank you for your response. I agree and understand the X86 folder. I don't have a problem with it being automatically installed in a different folder from what the user selects.
My question is: How do I get the folder name of where it's actually installed? The name differs in different languages and the INSTALLDIR variable doesn't not contain the correct value.
My question is: How do I get the folder name of where it's actually installed? The name differs in different languages and the INSTALLDIR variable doesn't not contain the correct value.
Roman1 wrote:
Files which are copied by 32-Bit setup go always into c:\program files (x86)
It is so.
MarkusLatz
Frequent contributor
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
12:54 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
What project type is it Installscript, Basic MSI or InstallScript MSI ?
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
12:58 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
Installscript
MarkusLatz wrote:
What project type is it Installscript, Basic MSI or InstallScript MSI ?
MarkusLatz
Frequent contributor
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
01:01 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
Try to take a look at the user's guide and search for Disable(WOW64FSREDIRECTION). May be this solves your problem.
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 20, 2014
01:19 PM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
No, I don't want to disable it. I want the program to go to the right place. And it can be installed anywhere. We let the user choose. However, when they choose C:\Program Files, which is what INSTALLDIR is set to, InstallShield puts it in the x86 folder but doesn't update the INSTALLDIR value. I just need to know where it's actually installed.
MarkusLatz wrote:
Try to take a look at the user's guide and search for Disable(WOW64FSREDIRECTION). May be this solves your problem.
DataAnalyzer
Pilgrim
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
May 21, 2014
12:56 AM
Re: INSTALLDIR is not C:\Program Files (x86) if user Select C:\Program Files for 32-bit
That's actually not true. That's only in English. There are equivalent names in other languages of Windows. What I need is the actual folder name where the files are installed. Any chance of getting that no matter what folder the user selects?
Roman1 wrote:
Files which are copied by 32-Bit setup go always into c:\program files (x86)
It is so.