Sorry if this a stupid question, but I'm a newbie here!

This is what I I would like to do; I have 5 different MSI's that my user has a choice to install. I would like to make a setup routine where they can choose what options they want. The best example I have is Microsoft Office. If you do a custom install you can choose what you want installed. How can I create this same type of package? Currently I'm using Wise Admin Studio 4.62. I'm having difficulty on how to call the other MSI's to install when they are chosen.

Thanks for the help!
.Steven.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Not a stupid question at all.[:)]
Microsoft Office uses MSI "Features". Open an MSI like the Office XP Proplus.msi with wise, go the the "Project Definitions" and select "Features" you will see lots of features with conditions on them, (Rember not to save the MSI when you close it)[:-]).
You may want to combine the 5 msi's into one and set them as "Features". or you could at least use the Features to set conditions on custom acitons that will then call the other MSI's.

I would reccommend having a look at the WindowsInstallerEditor.pdf that gets installed with WISE and read up on using "Features".

There used to be an easy tutorial that stepped through creating a simple MSI with multiple features but that was back in version 3.2 and I'm not sure if it's still in the newer versions.

Have fun,[&:]
Answered 08/17/2004 by: WiseMonkey3
Senior Yellow Belt

Please log in to comment
0
If you don't have a need for all 5 MSIs to be combined, consider using the Wise Script Editor to make yourself a simple launcher.

I would be happy to help you script a prototype showing 5 choices (either unique (radio buttons) or all selectable (checkboxes)), just let me know.

Happy packaging,

- Sean
Answered 08/17/2004 by: sean_c_roberts
Senior Purple Belt

Please log in to comment
0
Here's a quickie WiseScript example of code that will complile into a menu executable...

Just copy this code and paste it into your ScriptEditor.

Feel free to e-mail me if you have questions...

- Sean


---------- start copy ----------

item: Remark
end
item: Remark
Text=VARIABLES --------------------
end
item: Remark
end
item: Remark
Text=Initialize variables
end
item: Set Variable
Variable=SOFTWARECHOICE
end
item: Set Variable
Variable=COMMANDLINE1
Value=/i YOURMSI.msi TRANSFORMS=YOURTRANSFORM.mst
end
item: Set Variable
Variable=COMMANDLINE2
Value=/i YOURMSI.msi TRANSFORMS=YOURTRANSFORM.mst
end
item: Set Variable
Variable=COMMANDLINE3
Value=/i YOURMSI.msi TRANSFORMS=YOURTRANSFORM.mst
end
item: Set Variable
Variable=COMMANDLINE4
Value=/i YOURMSI.msi TRANSFORMS=YOURTRANSFORM.mst
end
item: Set Variable
Variable=COMMANDLINE5
Value=/i YOURMSI.msi TRANSFORMS=YOURTRANSFORM.mst
end
item: Remark
end
item: Remark
Text=USER INTERFACE --------------------
end
item: Remark
end
item: Remark
Text=Set the default choice
end
item: Set Variable
Variable=SOFTWARECHOICE
Value=A
end
item: Remark
end
item: Remark
Text=Show a dialog to the user
end
item: Custom Dialog Set
Name=Software Menu
item: Dialog
Title=Software Menu
Width=290
Height=177
Font Name=Helv
Font Size=8
item: Static
Rectangle=5 5 272 20
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000000000000000000000
Text=Please select one:
end
item: Radio Button
Rectangle=5 25 104 122
Variable=SOFTWARECHOICE
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000010000000000001001
Flags=0000000000000100
Text=Software Choice 1
Text=Software Choice 2
Text=Software Choice 3
Text=Software Choice 4
Text=Software Choice 5
Text=
end
item: Push Button
Rectangle=239 137 274 152
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000010000000000000000
Text=&OK
end
item: Push Button
Rectangle=202 137 237 152
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000010000000000000000
Text=&Cancel
end
item: Static
Rectangle=6 131 274 132
Action=3
Enabled Color=00000000000000001111111111111111
Create Flags=01010000000000000000000000000111
end
end
end
item: Remark
end
item: Remark
Text=LOGIC --------------------
end
item: Remark
end
item: Remark
Text=Run the proper command-line based on user choice
end
item: If/While Statement
Variable=SOFTWARECHOICE
Value=A
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=%COMMANDLINE1%
end
item: ElseIf Statement
Variable=SOFTWARECHOICE
Value=B
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=%COMMANDLINE2%
end
item: ElseIf Statement
Variable=SOFTWARECHOICE
Value=C
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=%COMMANDLINE3%
end
item: ElseIf Statement
Variable=SOFTWARECHOICE
Value=D
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=%COMMANDLINE4%
end
item: ElseIf Statement
Variable=SOFTWARECHOICE
Value=E
Flags=00001010
end
item: Execute Program
Pathname=%SYS32%\msiexec
Command Line=%COMMANDLINE5%
end
item: End Block
end
item: Remark
end
item: Remark
Text=Exit the installation
end
item: Exit Installation
end


---------- end copy ----------
Answered 08/17/2004 by: sean_c_roberts
Senior Purple Belt

Please log in to comment
0
Thanks sean_c_roberts. I'm a bit confused still about the actual usage of the script. Can you give me more detail?

Thanks everyone for the help!
Answered 08/20/2004 by: StevenJ
Senior Yellow Belt

Please log in to comment
0
Steven you will need to copy and paste what Sean posted into a Wise Script. The WiseScript Editor can be found in the Tools tab of the Workbench
Answered 08/20/2004 by: j0k3r
Yellow Belt

Please log in to comment
0
HI Guys,
Can somone provide me a sample msi wherein there are 4-5 features and user can select any one out of them during installation with the help of a radio button. I am really curious to study such an msi.

Thanks,
Vijay
Answered 09/09/2004 by: imvijay123
Senior Yellow Belt

Please log in to comment
0
I would be interested in an example as well. Thanks!
Answered 09/09/2004 by: StevenJ
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity