|
#1
|
|||
|
|||
|
Package Selection
Hi guys,
i am pretty new to SUF7. thats why my question might sound stupid to some of you but i would be happy about any helpful comments. i am trying to set up an installer with three packages. i located installers for other programs inside these packages which shall be run if the respective package is selected. my problem is how to verify whether the package is checked in LUA. i know this sounds confusing but i hope some of you will be able to help me. thanx in advance |
|
#2
|
||||
|
||||
|
The procedure is to add the packages via the Packages option on the left.
Assign the package to the relevant installation file (you can assign more than one package to a file) in File Properties. Add a Packages screen to your project, move it to the correct location in the installation flow process and made sure the packages are selected for available installation by moving them to the right hand box. The system will automatically install any files connected to a specific package as long as that package has been selected in the package screen. You do not have to concern yourself with checking whether the user has ticked the box or not. John |
|
#3
|
|||
|
|||
|
Hi John,
thank you for your quick reply. I have already tried it the way you explained but all SUF did was basically copy the installers for the other programs to the application folder. Example: I located an installer for program "x" inside the package "test". When the user checks the box for the installation of this package, i want my installer to automatically trigger the installation of the installer for program "x" rather than copying the file to the application folder. To me, being a newbie to SUF as well as to LUA, it seems logical to add a line of code saying: if (state of checkbox within package) then file.run (installer for program "x"); end What can I do??? Marcus Last edited by mkruckow; 10-12-2004 at 01:49 AM. |
|
#4
|
||||
|
||||
|
I missed the point that you want to run the program from within SUF7. So in that case, do not use a package. Instead use a check box screen. Set up how you want and assign variables if you do not want to use the default.
On the file screen, for each executable, set it to be written to a temporary directory regardless or use the Script Condition at the bottom and enter the check box variable. If the result is true it will be installed. Then on either post install (if you want to run within SUF7) or On Shutdown afterwards (although not sure the wait until finish works at that point) do a File.Run of the program and then a File.Delete afterwards (if you don't want it left behind) if the check box variable is set to true. You could probably still use a package screen to install and check for the user having selected that package and then do the File.Run etc. afterwards. I'm not sure if the Package ID is a variable you can compare against though. John |
|
#5
|
|||
|
|||
|
Thanx for your help. the checkbox solution works just fine.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Focus on Package Checkboxes | praveen_v | Setup Factory 6.0 | 0 | 11-20-2002 02:15 PM |
| Package Selection - Unable to create Hierarchy | praveen_v | Setup Factory 6.0 | 0 | 11-20-2002 12:25 PM |
| HOWTO: Display Conditional Text Based Upon a List Box Selection | Support | AutoPlay Media Studio 4.0 Examples | 0 | 10-15-2002 11:54 AM |
| SUF 6.0.0.0 bug: package variable state no recognized | pit | Setup Factory 5.0 | 1 | 11-23-2001 12:43 AM |
| Install Type and Package Conditional | nancyp | Setup Factory 5.0 | 0 | 06-05-2001 04:31 PM |
All times are GMT -6. The time now is 01:42 AM.








Linear Mode

