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!

dicestacking
Posts: 6
Joined: Mon Aug 06, 2012 11:18 am

Different msi files in 1 Project

Hi,
I have 5 msi files about different software.

Is there a any possibility, to put them all together in one Project, so that the end user can choose his software what he need?
What i don't want is, that the end-user have to run 5 setups!

Like:
  • All
  • [list]
  • game1
  • game2
  • game3
  • game4
  • game5
[*]GameCollection1[/*]
  • game1
  • game2
  • game5
[*]GameCollection2[/*]
  • game3
  • game4
  • game5
[*]Individual[/*]
  • game1
  • game2
  • game3
  • game4
  • game5
[*]Bonus[/*]
  • Videos
  • Sound
  • Feature1
  • Feature2
[/list]

I created the 5 msi files in Visual Sudio Setup Project, but i dont own the VS Projects anymore

Logic:
1a All, GameCollection1, GameCollection2, Individual should be like RadioButtons(so only 1 of 4 can be checked)
1b Bonus should be like a CheckBox, so it can be checked optional.

2a games are checked if the specific Collection is checked. games are unchecked if the specific Collection is unchecked.
2b games under Individual are unchecked if Individual is unchecked. games can be both, checked AND unchecked if Individual is checked.

hope u can help me :)
mfg
dice
dicestacking
Posts: 6
Joined: Mon Aug 06, 2012 11:18 am

Re: Different msi files in 1 Project

sry for double post

i can enable or disable checkboxes over the control conditions like: RADIO = "RadioA" or RADIO = "RadioB"
but i can't change the isChecked state. i tried in events but it doesn't change anything.

Am i right to use the Published Event?
My event is a Set Installer Property Value.


Event--------------------Argument-------------Condition

[Value]------------------"checked"--------------RADIO = "RadioA"
[Value]------------------""----------------------- RADIO = "RadioB"

EDIT: these 2 events are the published events from my first checkbox

what's my mistake?

greetings from austria
markus
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Different msi files in 1 Project

Hello Markus and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

In order to achieve what you want you can add the related MSI files as feature-based prerequisite to your project. Then, from "Organization" page you can condition the prerequisite installation by enabling "Install based on condition" option from "Feature Properties" right pane. Here, in the "Condition" field you can use properties in order to decide if the related prerequisite package will be installed or not. Please take a look on our "Show a custom feature selection dialog" article.
i can enable or disable checkboxes over the control conditions like: RADIO = "RadioA" or RADIO = "RadioB"
but i can't change the isChecked state. i tried in events but it doesn't change anything.

Am i right to use the Published Event?
My event is a Set Installer Property Value.


Event--------------------Argument-------------Condition

[Value]------------------"checked"--------------RADIO = "RadioA"
[Value]------------------""----------------------- RADIO = "RadioB"

EDIT: these 2 events are the published events from my first checkbox

what's my mistake?
Unfortunately, a radio button control cannot publish an event. Only check boxes, push buttons and list boxes ( with Enhanced UI only ) controls can publish events in Windows Installer. This being the case you can replace the radio buttons with another check boxes controls to achieve the same behavior.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dicestacking
Posts: 6
Joined: Mon Aug 06, 2012 11:18 am

Re: Different msi files in 1 Project

Thank you for the fast help, it really helped a lot!
I will try the feature-based prerequisite soon, but then the users have to go through many installers, aren't they?

atm i just imported the .msi and put them into different folders in"Files and Folders", but now i got an build error^^.
i posted the error already in the other sub forum.

greetings from austria
markus
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Different msi files in 1 Project

Hello Markus,
Thank you for the fast help, it really helped a lot!
I will try the feature-based prerequisite soon, but then the users have to go through many installers, aren't they?
Yes, you're right.

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

Return to “Building Installers”