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!

Jeff Whitaker
Posts: 1
Joined: Fri Aug 13, 2010 3:18 pm

Support for AnyCPU .NET application in PRO version

.NET applications are often set to "AnyCPU". However, I have not found a way to install these applications to the proper program files folder using Advanced Installer on 64-bit machines.
It installs them to the C:\Progam Files {86} \ directory.

It would be nice if the PRO version would support .NET applications for "AnyCPU" - it is the same application and not special for 64-bit.
LaughingJohn
Posts: 39
Joined: Wed Aug 11, 2010 1:05 pm

Re: Support for AnyCPU .NET application in PRO version

Jeff,

I think this might be an MSI thing. I know that with Visual Studio setup projects you can choose to make the set-up package 32 bit or 64 but there is no equivalent of "Any CPU". If you create a 64 bit package then it simply will not install on a 32 bit machine. So you have to create a 32 bit package which as you say defaults to going in the 32 bit program files directory which is "c:\Progam Files(x86)" on 64 bit machines.

Not sure about advanced installer itself, but maybe instead of letting it use the default target directory you could 'hard code' (create a folder) "c:\Progam Files\..." and do it that way instead. Just guessing though :)

The fact that it is in the 32 bit program files folder doesn't mean it will run as 32 bit, so it should be fine to run from there. I guess what we really need is "c:\Program Files(Any CPU)" folder !!!

LJ
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Support for AnyCPU .NET application in PRO version

Hi,

Please note that the files are installed into Program Files(x86) because you have created a 32 bit installation package. If you run a 32 bit package on a
a 64 bit machine Windows Installer will automatically redirect all files and folders to Program Files(x86).

In order to use a single package that will install in Program Files on both 32 and 64 bit machines you will need to create a mixed installation packages.
This option is available for the moment only in the Enterprise version.

Using the Professional version you can create only a 32 or 64 bit package, but not a mixed one.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”