This website uses cookies. By clicking Accept, 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
- :
- Re: Setup Prerequisites and x64 - searching for a file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 06, 2009
02:37 AM
Setup Prerequisites and x64 - searching for a file
Hi Folks,
Can anyone give me direction on how to create a Setup Prerequisite condition on Windows X64 operating systems in which "a file with a certain version exists" and the path is as follows:
[ProgramFilesFolder]Microsoft SQL Server\100\KeyFile\1033\sqlncli_keyfile.dll
The problem is that [ProgramFilesFolder] evaluates to "C:\Program Files (x86)" on Winodws X64 and I the file I am looking for is in "C:\Program Files"
The supported path variables are [CommonFilesFolder], [ProgramFilesFolder], [SystemFolder], and [WindowsFolder] which doesn't help.
Thanks!
--------------------------------------------------------------------------------
Can anyone give me direction on how to create a Setup Prerequisite condition on Windows X64 operating systems in which "a file with a certain version exists" and the path is as follows:
[ProgramFilesFolder]Microsoft SQL Server\100\KeyFile\1033\sqlncli_keyfile.dll
The problem is that [ProgramFilesFolder] evaluates to "C:\Program Files (x86)" on Winodws X64 and I the file I am looking for is in "C:\Program Files"
The supported path variables are [CommonFilesFolder], [ProgramFilesFolder], [SystemFolder], and [WindowsFolder] which doesn't help.
Thanks!
--------------------------------------------------------------------------------
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 06, 2009
05:09 AM
You may want to take a look at http://msdn.microsoft.com/en-us/library/aa372396(VS.85).aspx.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
01:33 AM
Hi, just use [ProgramFiles64Folder].
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 07, 2009
03:03 PM
Thanks,
Tried that, doesn't work. [ProgramFiles64Folder] doesn't seem to be supported in the setup prereq instance.
Tried that, doesn't work. [ProgramFiles64Folder] doesn't seem to be supported in the setup prereq instance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 08, 2009
03:18 PM
It should be supported as of IS 2010; perhaps see if you can verify what file it's checking with a tool like Process Monitor? Did you rebuild the setup (with the updated prerequisite) before testing this? Just making sure.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 08, 2009
12:11 PM
im also facing the same problem...when i use [ProgramFiles64Folder], it defaults to programfiles(x86) folder on target 64bit machine. couldn't help, tried every possibility but in vain. And this support for this product is also not upto the mark 😞 :mad: