Hi,
I have an installer (running in MSI mode) that uses IsMsiSetupInstalled to determine whether a pre-requisite install is present on the system. It runs fine if the pre-requisite is compiled in MSI mode but won't detect it if it is compiled in Native mode. I've tried giving the pre-requisite's project name instead of its GUID but no luck.
Is there Is there an equivalent of IsMsiSetupInstalled that should be used to detect Native installs or some other way?
Thanks, Peter
IsMsiSetupInstalled - Native mode?
Re: IsMsiSetupInstalled - Native mode?
Dear Peter,
Yes there is! You could read the NATIVE_OLDLOG pre-defined variable and see if it's empty. If an old installation of your product is already installed, this variable will hold the path of its installation log.
Yes there is! You could read the NATIVE_OLDLOG pre-defined variable and see if it's empty. If an old installation of your product is already installed, this variable will hold the path of its installation log.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: IsMsiSetupInstalled - Native mode?
Hi,
Thanks for your reply. I'm trying to detect whether a completely different product is installed on the system rather than an earlier version of the current product. I have a pre-requisite application that must be installed before the new application will work successfully; I don't think your suggestion will work in this scenario?
Ideally, what I'm looking for is a single call to detect whether a product is installed, regardless of whether it is Native or MSI based. Is this achievable? I guess I can always query the registry directly!
Thanks, Peter
Thanks for your reply. I'm trying to detect whether a completely different product is installed on the system rather than an earlier version of the current product. I have a pre-requisite application that must be installed before the new application will work successfully; I don't think your suggestion will work in this scenario?
Ideally, what I'm looking for is a single call to detect whether a product is installed, regardless of whether it is Native or MSI based. Is this achievable? I guess I can always query the registry directly!
Thanks, Peter
Re: IsMsiSetupInstalled - Native mode?
Dear Peter,
You could technically try and read the installation log of the other native installer.
You could technically try and read the installation log of the other native installer.
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Google [Bot] and 54 guests