cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ICE999
Level 5

Using system search property

In my OnFirstUIBefore part of the installshieldscript i have the following entry to customize my startCopy dialog.
I wanted to add a condition that if a systemsearch property is found i would show it in the dialog as well. But i can't use the property in script ... i tried with MsiGetProperty but without success.

Can someone help me out and show me the exact syntax?

Dlg_SdStartCopy:
szTitle = "";
szMsg = "";
listStartCopy = ListCreate( STRINGLIST );
//The following is an example of how to add a string(svName) to a list(listStartCopy).
//eg. ListAddString(listStartCopy,svName,AFTER);
ListAddString(listStartCopy,"Name: " + svName,AFTER);
ListAddString(listStartCopy,"Company: " + svCompany,AFTER);
ListAddString(listStartCopy,"Install directory: " + INSTALLDIR,AFTER);

nResult = SdStartCopy( szTitle, szMsg, listStartCopy );
ListDestroy(listStartCopy);

if (nResult = BACK) then
goto Dlg_SQL;
endif;
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

Please see the InstallShield help topic "Getting and Setting Properties" for a code sample of calling MsiGetProperty. If that doesn't help, please post your MsiGetProperty call...
0 Kudos