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!

mertus
Posts: 5
Joined: Sat Oct 17, 2009 11:33 pm

64/32 bit appfolder?

I have a combined 64/32 bit installer, created from the wizard and it works. However, on 64 bit machine it wants to install the distribution in "Program Files (x86)" not "Program Files". The installed program is 64 bits and contains Any CPU Dll's to decrease the size of the install package. How can I force 64 bits to be installed int Program FIles and not Program FIles (X86)

Thanks
-jam
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 64/32 bit appfolder?

Hi,

Please make sure that the "Application Folder" field from the "Install Parameters" page uses the [AI_ProgramFiles] property instead of "ProgramFilesFolder". This property is resolved automatically according to the package type.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mertus
Posts: 5
Joined: Sat Oct 17, 2009 11:33 pm

Re: 64/32 bit appfolder?

Ok, the Application Folder was set to
[ProgramFiles][Manufacturer]\[ProductName]

So I canged it to

[AI_ProgramFiles][Manufacturer]\[ProductName]

Now I get an error
Could not access network location Bliss 9
Bliss 9 is my product name.

So what am I doint wrong?
mertus
Posts: 5
Joined: Sat Oct 17, 2009 11:33 pm

Re: 64/32 bit appfolder?

Parden my spelling, I was using my iPhone and its hard to type.

I forgot to say that I am using 7.2.1 and it appears [AI_ProgramFiles] is not defined

If I set application folder to

[AI_ProgramFiles][Manufacturer]\[ProductName]

and

Appliction Shortcutfoler to
[ProgramFilesFolder][ProductName]

I get the error
Cannot access network location Mertus\Bliss 9
Where Manufacture is Mertus and Product name is "Bliss 9"
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 64/32 bit appfolder?

Hi,

Is the installation type set to "Mixed 32/64-bit matching the platform" in the "Install Parameters" page? Please note that the [AI_ProgramFiles] property is resolved only when using this option.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mertus
Posts: 5
Joined: Sat Oct 17, 2009 11:33 pm

Re: 64/32 bit appfolder?

Yes it is, and it actually installs 32 in 32 bit machines and 64 on 64 bit machines
mertus
Posts: 5
Joined: Sat Oct 17, 2009 11:33 pm

Re: 64/32 bit appfolder?

Ok, I set it to 32 bits and then set it back to mixed, now it works. Thanks for the help

BTW, that added
<ROW Action="AI_SETPROGRAMFILES" Type="51" Source="AI_ProgramFiles" Target="[ProgramFilesFolder]"/>
<ROW Action="AI_SETPROGRAMFILES64" Type="51" Source="AI_ProgramFiles" Target="[ProgramFiles64Folder]"/>

to the .aip file
MichaelL
Posts: 6
Joined: Thu Dec 03, 2009 1:27 am

Re: 64/32 bit appfolder?

Mertus' solution fixed the same problem for me as well. I'm using AI v7.6. My simple mixed test setup (1x64-bit file, 1x32-bit file, 1x common file) was done using only the wizard, so this might be a 'feature' that could be looked into.

Michael
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 64/32 bit appfolder?

Hi,

There is a bug in the mixed 32/64-bit wizard, but it will be fixed in the next version which is scheduled for release in the near future. I think this bug caused the behavior you encountered.

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

Return to “Common Problems”