This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: how to know a particular component is installed or not?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
10:01 AM
how to know a particular component is installed or not?
Hi,
Can anybody tell me how to know wether a particular or all the components is installed or not?
Note: Other than verbose is there any other way?
Can anybody tell me how to know wether a particular or all the components is installed or not?
Note: Other than verbose is there any other way?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 07, 2009
11:09 AM
Perhaps you're looking for the Installer Function Reference (http://msdn.microsoft.com/en-us/library/aa369426(VS.85).aspx) - in particular, see under System Status Functions.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2009
08:35 AM
Hi Michael,
Thanks for your replay... I am unable to use some functions like MsiEnableLog(), MsiEnumComponents()....
compiler is throwing an error as "error C8025: 'MsiEnableLog' : undefined identifier"
My project type: Installscript MSI 2009
Can you tell me how can i use these functions???
Thanks for your replay... I am unable to use some functions like MsiEnableLog(), MsiEnumComponents()....
compiler is throwing an error as "error C8025: 'MsiEnableLog' : undefined identifier"
My project type: Installscript MSI 2009
Can you tell me how can i use these functions???
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 08, 2009
10:52 AM
MsiEnableLog isn't actually useful from within an installation (except perhaps from an InstallScript installation acting as a bootstrap for a Windows Installer installation), so that's at least part of why it's not declared for you. You can declare your own dll calls, and use UseDLL to enable their invocation. There should be plenty of information on that over the web.
Saying a bit more about your motivation may help as well; if the component is part of the installation you're currently running, there may be a better way than MsiEnumComponents.
Saying a bit more about your motivation may help as well; if the component is part of the installation you're currently running, there may be a better way than MsiEnumComponents.