I’m trying to get info on errors that may be happening when I LaunchApplication in installScript, but get an error when I do exactly what this example shows: store error code from custom action
<code>export prototype CmdExecute(HWND);
function CmdExecute(hMSI)
begin
LAAW_SHELLEXECUTEVERB = "runas";
String returnCodeStr;
end;
</code>
<code>export prototype CmdExecute(HWND);
function CmdExecute(hMSI)
begin
LAAW_SHELLEXECUTEVERB = "runas";
String returnCodeStr;
end;
</code>
export prototype CmdExecute(HWND);
function CmdExecute(hMSI)
begin
LAAW_SHELLEXECUTEVERB = "runas";
String returnCodeStr;
end;
When I build, I get, ErrorCode C8025, String: undefined identifier. When I type string, it suggests the word STRING. I’ve tried STRING and String like the example shows but it’s always unidentified. How do I get the installScript to let me define strings?
I want to do what the example at the link shows.
Thanks for any help! I am using InstallShield 2021.