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: how to install file to system32 on 64 bit machine?
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
‎Oct 27, 2008
02:53 PM
how to install file to system32 on 64 bit machine?
I'd like to install a plain text file to the system32 folder on 64 bit machine. Is this doable?
I tried both [SystemFolder] and [System64Folder], the component is installed to SysWow64 instead of System32.
I marked this component as "64bit", that does not help either.
I tried both [SystemFolder] and [System64Folder], the component is installed to SysWow64 instead of System32.
I marked this component as "64bit", that does not help either.
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2008
03:03 PM
More info:
this is basic MSI project, so i could not use:
disable(WOW64FSREDIRECTION)
this is basic MSI project, so i could not use:
disable(WOW64FSREDIRECTION)
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2008
03:31 PM
Don't mark anything as 64-bit as that tells the installer that it IS a 64-bit install, and not a 32 bit.
the best way is to simply build a 32-bit installer, and it'll install as a 32-bit application on the 64-bit machine.
the best way is to simply build a 32-bit installer, and it'll install as a 32-bit application on the 64-bit machine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2008
03:33 PM
Right, but the problem is if I mark it as 32-bit, it will also install the file to syswow64 instead of system32.
I guess my question is, how to turn off WOW64FSREDIRECTION in a basic MSI project? thanks.
I guess my question is, how to turn off WOW64FSREDIRECTION in a basic MSI project? thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 27, 2008
03:36 PM
josephine wrote:
Right, but the problem is if I mark it as 32-bit, it will also install the file to syswow64 instead of system32.
I guess my question is, how to turn off WOW64FSREDIRECTION in a basic MSI project? thanks.
Is the application a true 64-bit application or a 32-bit application being run on x64?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
11:13 AM
mainly a 32-bit application being run on x64, but that file needs to be in system32 folder for a 64 bit driver to work for restricted user.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
11:42 AM
josephine wrote:
mainly a 32-bit application being run on x64, but that file needs to be in system32 folder for a 64 bit driver to work for restricted user.
Well, it's kind of hard to help you decipher if we don't know these types of details. If that file is a 32-bit file, windows isn't going to allow you to place it in the system32 folder... If its a 64-bit driver, then that will be installed in the system32 folder and should be treated as a 64-bit.
it sounds to me like you need to install the driver seperately as a 64-bit install, and then install the 32bit application.
That's what I would do, and then chain the two installs together, with the driver install being a prereq.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
02:37 PM
Thanks for your explanation.
I made a separate install for 64bit, and it solved the problem.
Trying a single install for both 32 bit and 64 bit just would not work.
In template summary, I marked it as "Intel, x64" and it would always direct to syswow64.
Now I set it to be just "x64" and it can be installed to system32.
I made a separate install for 64bit, and it solved the problem.
Trying a single install for both 32 bit and 64 bit just would not work.
In template summary, I marked it as "Intel, x64" and it would always direct to syswow64.
Now I set it to be just "x64" and it can be installed to system32.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 28, 2008
02:41 PM
josephine wrote:
Thanks for your explanation.
I made a separate install for 64bit, and it solved the problem.
Trying a single install for both 32 bit and 64 bit just would not work.
In template summary, I marked it as "Intel, x64" and it would always direct to syswow64.
Now I set it to be just "x64" and it can be installed to system32.
Glad to hear you got it worked out. 😄 Now if only I can figure out what's going on with my filter driver install. :cool: