Hi,
I am using Setup Factory 9.5 to create my setup. I would like to use the silent uninstall command line to pass in users options as follows:
But deleteSettings always = 0. It appears the specified ini file is ignored or I am using the wrong method to get the entry.
What am I doing wrong?
Thanks,
Adrian.
I am using Setup Factory 9.5 to create my setup. I would like to use the silent uninstall command line to pass in users options as follows:
"C:\...\Uninstall.exe" "/U:C:\...\uninstall.xml" "/S:C:\...\UnistallOptions.ini"The UnistallOptions.ini contains the following:
[UninstallValues]In the uninstall Actions - On Post Uninstall I have added:
%Delete_All_Settings%=1
Code:
if _SilentInstall == true then
deleteSettings = SessionVar.Get("%Delete_All_Settings%");
SetupData.WriteToLogFile( "deleteSettings = " .. deleteSettings .. "\r\n" );
if deleteSettings == "1" then
deleteSettings = true;
else
deleteSettings = false;
end
end
What am I doing wrong?
Thanks,
Adrian.