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!

HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Create both 32 and 64 bit Trial.dll

How can we create both a 32 and 64 bit Trial dll and conditionally install the correct dll?

Our .Net application is compiled for AnyCPU and currently the installer package is 32 bit. In our installer there is currently one third party dll which gets conditionally installed via setting conditions on the Organization tab using NOT VersionNT64 and Version64.

Is there a similar way to create two versions of the Trial.dll and conditionally install?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create both 32 and 64 bit Trial.dll

Hello,

In order to achieve this you should use the “New Synced Trial” context menu option of your trial configuration added in "Licensing" page. In the next step you should go to "Files and Folders" page and under the parent folder of "Trial.dll" file you should create a new sub-folder having the "Install folder content into the parent folder" option enabled. Next you should move the "Trial - Synced Variant.dll" file in the new created sub-folder. After this you should go to "Licensing" page and rename the "Trial - Synced Variant" trail configuration to "Trial". Finally you should configure both of your trial configurations and use accordingly an installation condition for both of the added "Trail.dll" file components.

Also, please be aware that, as you already reported in "Trial details incorrect when creating a Synced Variant" thread, when adding a new synced trial configuration the synced trial settings inheritance fails. Currently this is an Advanced Installer issue, a fix for it will be available in a future version of Advanced Installer. Thank you for bringing this to our attention. Until then, as a workaround you should manually set all the synced trial properties and options.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
HadleyHope
Posts: 16
Joined: Fri Oct 11, 2013 3:22 pm

Re: Create both 32 and 64 bit Trial.dll

Thanks for the info, I don't know if there is a further bug in Advanced Installer or if it is something I am doing, but when I try and run our application using the 64bit version of the Trial.dll I get the following message:

Could not load file or assembly 'Trial.dll' or one of it dependecies. The module was expected to contain an assembly manifest

I followed the instructions on renaming, etc and manually copied all the properties from the parent trial to the synced version.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Create both 32 and 64 bit Trial.dll

Hello,

I'm not sure why this happens. Can you please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”