/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Is there a way to copy a file Only under System32 Folder using a 32Bit MSI.
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
'File System Redirector' is causing this.
http://msdn.microsoft.com/en-us/library/aa384187(v=vs.85).aspx
I haven't tried it though. May be, you can create a separate 64-bit MSI for this app.
Answered 08/11/2011 by: SandeepPanat
Orange Senior Belt

Please log in to comment
0
My Problem is i have a 32Bit MSI and i wanted it only in that MSI.
Answered 08/11/2011 by: premnath_p_r
Senior Yellow Belt

Please log in to comment
0
If you need to copy a file to System32 on a 64-bit operating system using a 32-bit MSI you have to do some magic ;)
Use a custom action to copy to the path under \\%computername%\C$\windows\system32\
Answered 08/11/2011 by: AngelD
Red Belt

Please log in to comment
0
Thanks, it is working
Answered 08/11/2011 by: premnath_p_r
Senior Yellow Belt

Please log in to comment
0
Just have in mind that the admin shares can be "disabled" so it isn't foolproof that the "C$" share exists
Answered 08/11/2011 by: AngelD
Red Belt

Please log in to comment
0
You can try also setup custom action flag "Use 64 bit scripting" for your vbs script (msidbCustomActionType64BitScript)
Answered 08/11/2011 by: itolutions
Purple Belt

Please log in to comment
0
Does the 64-bit flag for script CAs really work if the Platform property isn't set to x64?

I've always wondered whether this works [:)]
Answered 08/12/2011 by: Teitan
Senior Purple Belt

Please log in to comment
1
As it's a 32-bit MSI you cannot set components nor CAs as 64-bit
Answered 08/12/2011 by: AngelD
Red Belt

Please log in to comment
0
Thats what i figured. Thanks for the info AngelD!
Answered 08/12/2011 by: Teitan
Senior Purple Belt

Please log in to comment
0
There has to be a nicer way to do this. Hard-coded paths should be avoided (especially a network UNC path to a local resource).
What is best practice? To create a 64-bit MSI?
Answered 08/12/2011 by: mazessj
Blue Belt

Please log in to comment
0
Set Platform property to x64 and add the 64-bit flag to every component.

But the problem of premnath is, that he need a x86 MSI which installs some files to x64 paths in Windows.
Answered 08/16/2011 by: Teitan
Senior Purple Belt

Please log in to comment