-
Re-direction questions.
I am trying to experiment with something related to file system re-direction. I am trying to figure out why the files always seem to go to 32-bit directories, even if I turn off re-direction.
retVal = Disable( WOW64FSREDIRECTION );
if( retVal = 0 ) then
MessageBox( "disabling successful", WARNING );
else
MessageBox( "disabling NOT successful", WARNING );
endif;
MsiSetProperty(ISMSI_HANDLE, "INSTALLDIR", WINSYSDIR64 );
I put the following code in the OnBegin() of my test installer. I explicitly set the INSTALLDIR property to make sure files are getting installer to a different location. In the Setup Designer view, the file normally install to Program Files.
Every time I run this installer, my files get placed in the 32-bit (i.e., WINSYSDIR). I know the change to INSTALLDIR is having some sort of effect, just not the effect I want to see.
My isntaller is currently marked to be 32-bit (Intel;1033). Could that be the case? I though running Disable( WOW64FSREDIRECTION ) was supposed to change that. I have checked that I'm not explicitly enabling anywhere else in the script.
I just want to get the files to isntall to the actual WINSYSDIR64. I don't want to have to change the installer to x64 to do it.
Anyone have any ideas?
-Bryan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules