PDA

View Full Version : Launch the Program checkbox



jdredd
05-06-2010, 09:44 AM
At the end, the Launch the Program dialog box is checked on, how do I make it so this is checked off? I do not see a property setting for this, unless its buried somewhere else.

jdredd
05-12-2010, 10:04 AM
ok got this working via a DLL call with Delphi.

FUNCTION disablelaunchapp(hinstall:msihandle):longint;stdcall;
Var Name,Value:Pchar;
begin
result:=1;
try
Name:=PCHAR('LAUNCHPROGRAM');
Value:=nil;
Msiquery.MsiSetPropertyA(hinstall,Name,Value);
except
end;
end;

So far has worked like a charm.