cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bhardwajhp
Level 3

Project assistant default project

Hi,

i have created a simple project using assistant, and i want to remove/suppress unused screens like setup type, customer information...

is this possible,

i have created installscript msi project and am using installshield 2010.


i need to remove these dialogs, please help me out ...

Thanks in advance ...
Labels (1)
0 Kudos
(5) Replies
weakness
Level 6

Hello.
InstallScript and InstallScript MSI Project Project assistant does not support changing dialog setting.

You have to change the installscript code directly.

1. Select [Installation Designer] [Behavior and Logic] [InstallScript] [Setup.rul]

2. Select [Before Move Data]-[OnFirstUIBefore]

3. If you do not want to display Setup type dialog, then delete the following code.

Dlg_SetupType:
szTitle = "";
szMsg = "";
nResult = SetupType2(szTitle, szMsg, "", nSetupType, 0);
if (nResult = BACK) then
goto Dlg_SdRegisterUser;
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;
0 Kudos
bhardwajhp
Level 3

Hi,

Thanks a lot for clarifications.

setup.rul only have code which i added, there is no default code there.
code section highlighted by you in not there.

Thanks.
0 Kudos
bhardwajhp
Level 3

Hi,

do we need to change some project settings to add code for default dialogs available.

Thanks.
0 Kudos
weakness
Level 6

Hello.

Did you do that step?

2. Select [Before Move Data]-[OnFirstUIBefore]
0 Kudos
bhardwajhp
Level 3

thanks a lot.

i have added this now and its working file.

thanks 🙂
0 Kudos