vished
Posts: 17
Joined: Fri Apr 01, 2016 9:31 am

32 / 64 Bit Installer - not working - opening System32 folder

Dear all,

I want to build a combine installer for 32 and 64 bit.

I have some questions:
Is there any strategy to create this folder structure?
I used the mixed 32 / 64 bit option in Advanced installer to split the features into 32 and 64 bit.
But now I tried the installation and it run successful to the last dialog.
I choose in the last dialog "open application" and than the System32 folder appears??? Why?

I have the MyExe.exe (32 Bit) and set it to NOTVersionNT64 and my MyExe64.exe I set it to VersionNT64.
If I have a look into the installed folders after the installation I found that the MyExe.exe or MyExe64.exe are NOT in the folder... Why?

Can you help me, please.
Thank you
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: 32 / 64 Bit Installer - not working - opening System32 folder

Hello,

To launch the application in a mixed package type when the launched file is different for each machine (32 or 64-bit), please follow these steps:

Instead of launching the application at the end of the installation, a property will be set with the path of the installed file.

To use this approach, you can follow the steps below:
  • add a Set Installer property custom action as a custom action with sequence scheduled after the "Paths Resolution" stage. Edit the custom action properties as follow:
    • Property: FILE_TO_LAUNCH
      Value: [#myFile32bit.exe]
Condition the custom action execution through its "Condition" field. For this, we can take advantage of the VersionNT64 property. Since the 32-bit executable will be installed, we can add the NOT VersionNT64 as a condition.
  • add another Set Installer property custom action as a custom action with sequence. Edit the custom action properties as follow:
    • Property: FILE_TO_LAUNCH
      Value: [#myFile64bit.exe]
Condition the custom action execution through its "Condition" field. Add the VersionNT64 as a condition.
  • go to the Dialogs page and select "ExitDialog"
  • select the [ Finish ] button and select the Finish Actions tab in the "Control" section
  • enable the "Launch application at the end of the installation" option
  • select any file
The view does not support to select a property, but you can delete the current content and add the [FILE_TO_LAUNCH] in the Application field.

Let me know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”