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!

lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Re: Do not install prerequisite depending on selection...

Thanks for the update.

However want would be your suggestion on how I can get SQL Server to be always be installed if the Trail radio button is selected and not if the Licensed radio button is selected? Is there currently a way I can do this in the current version of Advanced Installer? I am not so much worried about the SKIP state in the prerequities dialog, but I do need it to actually install SQL Server which is currently does not....

Thanks for your time and help

Simon
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Do not install prerequisite depending on selection...

Hello Simon,

The behavior was partially caused because you moved the "Update Features Install States" after "AddResources" standard action. By default the custom action is added before.

Also, after later investigation and testing it also seems there was a related bug in Advanced Installer 9.3. Thank you for bringing it to our attention and for helping us make Advanced Installer a better product.
I notified the development team but you'll be able to fix this in the next version simply by following the instructions from my last post.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Re: Do not install prerequisite depending on selection...

Mihai,

I have installed the new version of Advanced Installer v9.4 and have followed your comments about adding a UpdateFeaturesInstallState and leaving as default and then adding a DoAction published event on the next button of the Welcome dialog, however this has made no difference. It still will not force the install of SQL Server if the "Trial" radio button is selected.

Please could you have a look at the attached example and modify if required, to acheive this installation state. It really is getting urgent for me now to get this resolved.

Any help would be really apreshiated.

Thanks

Simon
Attachments
sample.zip
(4.35 KiB) Downloaded 1678 times
lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Re: Do not install prerequisite depending on selection...

Hi, have you had a chance to look at this yet, it is becoming quite urgent.

Thanks

Simon
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Do not install prerequisite depending on selection...

Hi Simon,

We'll get back to you later today when your sample project file comes back from testing.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Do not install prerequisite depending on selection...

We built the project using version 9.4 and everything works as expected.
  • On a Windows Vista x64 machine:
    Test case 1
    -> select "Trial"
    -> x64 prerequisite is defaulted to "Must install" in the PrerequisitesDlg (x32 prerequisite is hidden)
    -> by continuing the installation it will download and install the software as expected

    Test case 2
    -> select "Licensed"
    -> x64 prerequisite is defaulted to "Skip" in the PrerequisitesDlg (x32 prerequisite is hidden)
    -> by continuing the installation it will not install the software
  • On a Windows XP x32 machine:
    Test case 1
    -> select "Trial"
    -> x32 prerequisite is defaulted to "Install" in the PrerequisitesDlg (x64 prerequisite is hidden)
    -> by continuing the installation it will download and install the software as expected

    Test case 2
    -> select "Licensed"
    -> x32 prerequisite is defaulted to "Skip" in the PrerequisitesDlg (x64 prerequisite is hidden)
    -> by continuing the installation it will not install the software
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lidds
Posts: 44
Joined: Thu Jun 14, 2012 11:22 pm

Re: Do not install prerequisite depending on selection...

You are correcy this does work. I seemed to have an issue with the radio group on my application installer.

All Sorted now

Thanks

Simon

Return to “Building Installers”