Hello.
We have packaged our software with inidigorose setup facotry 6 earlier and now we are thinking of switching to Advanced Installer. We always installed our software to C:\Product\Engine (set hard inside package) and there we have a service.exe. The InstallDir was written to registry (HKLM\SOFTWARE\OurProduct,InstallDir="C:\Product\Engine\")
I now wonder how I can check the registry for the InstallDir which should return C:\Product\Engine\Service.exe for previous version than the one we are currently building which will be installed to [ProgramFilesFolder]\Product\Engine\Service.exe. If the InstallDir value is C:\Product\Engine\Service.exe then I want to perform a Service Uninstall action or at least show a messagebox that previous version needs to be uninstalled.
Any chance to accomplish this? I can not figure it out...
Thanks.
Anders Smedman
FOLLOW US
Get the latest news in Application Packaging