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: Facing issue with Installshield using Installscript
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 30, 2010
07:50 AM
Facing issue with Installshield using Installscript
Hi All,
I am using Installshield 2009 and I am using installscript to build the installer.
My requirement is to build the installer for 64bit(Win2007) and i am able to surpass all the issue dealing with appropraite registry etc.
Now i am stuck at the issue where the installer is copying the file to c:\Windows\SysWOW64, instead i want the file to be copied over to C:\Windows\System32.
I tried calling disable (WOW64FSREDIRECTION)\enable (WOW64FSREDIRECTION)
but unable to get the above work done.
I am at the end of the release and this issue is reallly getting critical.
Can anyone point me out the solution.
Really appreciate quick response.
Pushpendra
I am using Installshield 2009 and I am using installscript to build the installer.
My requirement is to build the installer for 64bit(Win2007) and i am able to surpass all the issue dealing with appropraite registry etc.
Now i am stuck at the issue where the installer is copying the file to c:\Windows\SysWOW64, instead i want the file to be copied over to C:\Windows\System32.
I tried calling disable (WOW64FSREDIRECTION)\enable (WOW64FSREDIRECTION)
but unable to get the above work done.
I am at the end of the release and this issue is reallly getting critical.
Can anyone point me out the solution.
Really appreciate quick response.
Pushpendra
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2010
10:11 AM
Hi.
Did you try to use IS variable System64Folder ?
Did you try to use IS variable System64Folder ?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2010
10:17 AM
You mean variable TARGETDIR set as .Yes I did try but no luck.
Files are still going to c:\Windows\SysWOW64.
Just wondering whether it is supported for Installscript project.?
Files are still going to c:\Windows\SysWOW64.
Just wondering whether it is supported for Installscript project.?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2010
10:29 AM
And these:
Disable(WOW64FSREDIRECTION );
XCopyFile( SUPPORTDIR ^ "MyFile.dll", WINSYSDIR64, COMP_NORMAL );
- or -
XCopyFile( SUPPORTDIR ^ "MyFile.dll", System64Folder, COMP_NORMAL );
Enable(WOW64FSREDIRECTION )
Disable(WOW64FSREDIRECTION );
XCopyFile( SUPPORTDIR ^ "MyFile.dll", WINSYSDIR64, COMP_NORMAL );
- or -
XCopyFile( SUPPORTDIR ^ "MyFile.dll", System64Folder, COMP_NORMAL );
Enable(WOW64FSREDIRECTION )
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 01, 2010
11:41 AM
Just wanted to update you that i am using Installscript project not Installscript MSI project.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 14, 2012
11:55 AM
I call it explicitly.
put it in the supportdir
sDestination = "C:\\Windows\\System32"
XCopyFile( SUPPORTDIR ^ "file", sDestination, COMP_NORMAL);
put it in the supportdir
sDestination = "C:\\Windows\\System32"
XCopyFile( SUPPORTDIR ^ "file", sDestination, COMP_NORMAL);
