cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
spushpendra2000
Level 3

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
Labels (1)
0 Kudos
(5) Replies
mirik222
Level 5

Hi.

Did you try to use IS variable System64Folder ?
0 Kudos
spushpendra2000
Level 3

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.?
0 Kudos
mirik222
Level 5

And these:

Disable(WOW64FSREDIRECTION );
XCopyFile( SUPPORTDIR ^ "MyFile.dll", WINSYSDIR64, COMP_NORMAL );
- or -
XCopyFile( SUPPORTDIR ^ "MyFile.dll", System64Folder, COMP_NORMAL );
Enable(WOW64FSREDIRECTION )
0 Kudos
spushpendra2000
Level 3

Just wanted to update you that i am using Installscript project not Installscript MSI project.
0 Kudos
phenrichs
Level 4

I call it explicitly.

put it in the supportdir

sDestination = "C:\\Windows\\System32"
XCopyFile( SUPPORTDIR ^ "file", sDestination, COMP_NORMAL);
0 Kudos