PDA

View Full Version : Setup Types



dhansen
07-18-2005, 12:10 PM
I removed the 'Complete' setup type. The nature of our application requires that a user does not install all features, each user gets a very customized install.

This leaves only the 'Custom' setup type in the 'Setup Types' view but if I build an install, both the 'Complete' and 'Custom' setup types are available to the user.

Please assist,

Thanks,
Dean

Aravind
07-19-2005, 04:44 AM
Hi,
change the setup type in
Direct Editor->Property Table to "Typical"

RChapel
07-19-2005, 08:25 AM
Hello,

I have the same problem...
Have you found a solution ?
Aravind I tried but the ISSetupType was already right
(in an InstallScript MSI project)

Regards.

RChapel
07-20-2005, 07:40 AM
Hi,
In Behavior and Logic view, Setup.Rul, choose -> Before Move Data | OnFirstUIBefore

Change nSetupType = TYPICAL; to nSetupType = CUSTOM;

delete or comment

/*
Dlg_SetupType:
szTitle = "";
szMsg = "";
nResult = SetupType(szTitle, szMsg, "", nSetupType, 0);
if (nResult = BACK) then
goto Dlg_SdCustomerInformation;
else
nSetupType = nResult;
if (nSetupType != CUSTOM) then
nvSize = 0;
FeatureCompareSizeRequired(MEDIA, INSTALLDIR, nvSize);
if (nvSize != 0) then
MessageBox(szSdStr_NotEnoughSpace, WARNING);
goto Dlg_SetupType;
endif;
bCustom = FALSE;
goto Dlg_SQL;
else
bCustom = TRUE;
endif;
endif;
*/

and change all calls (often if nResult = BACK) to Dlg_SetupType (to Dlg_SdCustomerInformation for instance)

And it works well :)

I hope this helps !