/build/static/layout/Breadcrumb_cap_w.png

CopyFile in x64

Is there a way to copy a file Only under System32 Folder using a 32Bit MSI.

0 Comments   [ + ] Show comments

Answers (11)

Posted by: AngelD 13 years ago
Red Belt
1
As it's a 32-bit MSI you cannot set components nor CAs as 64-bit
Posted by: SandeepPanat 13 years ago
Orange Senior Belt
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.
Posted by: premnath_p_r 13 years ago
Senior Yellow Belt
0
My Problem is i have a 32Bit MSI and i wanted it only in that MSI.
Posted by: AngelD 13 years ago
Red Belt
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\
Posted by: premnath_p_r 13 years ago
Senior Yellow Belt
0
Thanks, it is working
Posted by: AngelD 13 years ago
Red Belt
0
Just have in mind that the admin shares can be "disabled" so it isn't foolproof that the "C$" share exists
Posted by: itolutions 13 years ago
Purple Belt
0
You can try also setup custom action flag "Use 64 bit scripting" for your vbs script (msidbCustomActionType64BitScript)
Posted by: Teitan 13 years ago
Senior Purple Belt
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 [:)]
Posted by: Teitan 13 years ago
Senior Purple Belt
0
Thats what i figured. Thanks for the info AngelD!
Posted by: mazessj 13 years ago
Blue Belt
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?
Posted by: Teitan 13 years ago
Senior Purple Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ