|
#1
|
|||
|
|||
|
I have 3 packages that only get installed if selected. I created 3 Select Install Folder screens, 1 for each package. I have put the following code into the next action of the Select Packages screen and similiar code in the next action portion of the Install Folder screens and get the error "Argument 1 must be of type string" when I click Next. HELP!!
if (SetupData.GetPackageProperties(UserSetup)) then Screen.Next(); else if (SetupData.GetPackageProperties(DatabaseSetup)) then Screen.Jump(InstallDataFiles); else if (SetupData.GetPackageProperties(Utilities)) then Screen.Jump(InstallUtilities); else Screen.End(); end end end |
|
#2
|
||||
|
||||
|
Quote:
Code:
if (SetupData.GetPackageProperties("UserSetup")) then
GetPackageProperties also returns a table...if you're wanting to determine whether the "UserSetup" package will be installed, use this code instead: Code:
if (SetupData.GetPackageProperties("UserSetup").Install) then
__________________
--[[ Indigo Rose Software Developer ]] |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| attempt to index a string value | csd214 | AutoPlay Media Studio 5.0 | 8 | 08-08-2004 02:23 AM |
| Function: Show/Hide All Objects of a Specific Type | Brett | AutoPlay Media Studio 5.0 Examples | 0 | 05-10-2004 03:29 PM |
| Function: Convert boolean value to string | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 05-07-2004 02:14 PM |
| "Get Delimited String" -- Delimiter can be a string? | Bishal | Setup Factory 6.0 | 1 | 10-16-2003 11:40 AM |
| How to define argument for progr on CD? | Harry Kiesel | AutoPlay Menu Studio 3.0 | 2 | 11-26-2001 10:50 AM |
All times are GMT -6. The time now is 02:38 PM.








Linear Mode

