change file Location on 64bit - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

cvas
Posts: 43
Joined: Mon Oct 01, 2007 8:20 pm

change file Location on 64bit

in AI installer i need to copy a file with the same name but deterrent for 32 or 64 bit
in "Windows Volume\windows\system32" i had a condition "VersionNT64" and NOT "VersionNT64" in 32bit it works OK but in 64bit
the file copied always in "Windows Volume\Windows\SysWOW64" and not in "Windows Volume\windows\system32"

how i can change the location on 64bit ?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: change file Location on 64bit

Hello,

You must also mark the 64-bit file's component as 64-bit from the Organization page( simply press F8 while the file is selected in the Files and Folders page ).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cvas
Posts: 43
Joined: Mon Oct 01, 2007 8:20 pm

Re: change file Location on 64bit

i uprate to AI 8.3
here its the set
the file xxx_x32.exe 64bit component uncheck condition "NOT VersionNT64"
the file xxx_x64.exe 64bit component check condition "VersionNT64"
in 32bit OS work OK
and in 64bit OS i receive an error that the file i had for 32bit xxx_x32.exe its not mark for installation and AI stop and exit.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: change file Location on 64bit

Hi,
in 64bit the file copied always in "Windows Volume\Windows\SysWOW64"
The 64-bit file should be placed in "Windows Volume\Windows\System 64" folder. This will be resolved to "system32" folder on a 64-bit machine.
in 64bit OS i receive an error that the file i had for 32bit xxx_x32.exe its not mark for installation and AI stop and exit.
Are you launching the file through a custom action? If you are, you need two custom actions: one for the 32-bit file and another one for the 64-bit file. These actions should also be conditioned with VersionNT64.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”