rguggisberg
11-05-2015, 12:34 PM
Updated 04:31 PM EST
I just upgraded to IS 2015 SP1 to take advantage of new Suite functionality and I'm having trouble executing InstallScript functions in my Suite project. To eliminate the possibility of problems with my function I have everything commented out so that it is simply:
export prototype MyFunction();
function MyFunction()
begin
SuiteLogInfo("Testing1234");
end;
The function is being launched in OnStaging (although I get the same result no matter which event it is launched in) and I see the 'Display Text' being displayed for a second or two in the Suite window but SuiteLogInfo is not logging anything. My debug log always shows:
11-5-2015[11:15:29 AM]: Engine: staging parcels
11-5-2015[11:15:29 AM]: Engine: property 'ISInstallStatus' value now 'IDS_SUITE_STAGING'
11-5-2015[11:15:29 AM]: Engine: property 'ISInstallStatus' value now 'Testing MyFunction'
11-5-2015[11:15:29 AM]: Running event 'MyFunction'
11-5-2015[11:15:29 AM]: Launching InstallScript action in function 'MyFunction
11-5-2015[11:15:29 AM]: Engine: request for proxy handler, 0, 0
11-5-2015[11:15:31 AM]: Action returned value 0x80020005
11-5-2015[11:15:31 AM]: Action 'MyFunction' returned status 0x80070643
11-5-2015[11:15:31 AM]: Engine: property 'ISInstallStatus' value now 'IDS_SUITE_INTERRUPTED'
What am I missing?
Thanks
I just upgraded to IS 2015 SP1 to take advantage of new Suite functionality and I'm having trouble executing InstallScript functions in my Suite project. To eliminate the possibility of problems with my function I have everything commented out so that it is simply:
export prototype MyFunction();
function MyFunction()
begin
SuiteLogInfo("Testing1234");
end;
The function is being launched in OnStaging (although I get the same result no matter which event it is launched in) and I see the 'Display Text' being displayed for a second or two in the Suite window but SuiteLogInfo is not logging anything. My debug log always shows:
11-5-2015[11:15:29 AM]: Engine: staging parcels
11-5-2015[11:15:29 AM]: Engine: property 'ISInstallStatus' value now 'IDS_SUITE_STAGING'
11-5-2015[11:15:29 AM]: Engine: property 'ISInstallStatus' value now 'Testing MyFunction'
11-5-2015[11:15:29 AM]: Running event 'MyFunction'
11-5-2015[11:15:29 AM]: Launching InstallScript action in function 'MyFunction
11-5-2015[11:15:29 AM]: Engine: request for proxy handler, 0, 0
11-5-2015[11:15:31 AM]: Action returned value 0x80020005
11-5-2015[11:15:31 AM]: Action 'MyFunction' returned status 0x80070643
11-5-2015[11:15:31 AM]: Engine: property 'ISInstallStatus' value now 'IDS_SUITE_INTERRUPTED'
What am I missing?
Thanks