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
- :
- ISWiAutomation17.dll Interface issue
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
Jan 21, 2011
07:55 AM
ISWiAutomation17.dll Interface issue
Hi we are using C++ code to access automation interface(ISWiAutomation17.dll)
CoInitialize(NULL);
CLSID applicationCLSID;
CLSIDFromProgID( L"ISWiAuto17.IswiAutoUpgradeEntry",
&applicationCLSID);
_ISWiProjectPtr oISM = NULL;
HRESULT hr =CoCreateInstance(applicationCLSID, NULL, CLSCTX_INPROC_SERVER, __uuidof(_ISWiProjectPtr), (void **) &oISM);
Here i am getting oISM = 0x00000; and hr = class is not registered.
Does anybody know why this is happning?
CoInitialize(NULL);
CLSID applicationCLSID;
CLSIDFromProgID( L"ISWiAuto17.IswiAutoUpgradeEntry",
&applicationCLSID);
_ISWiProjectPtr oISM = NULL;
HRESULT hr =CoCreateInstance(applicationCLSID, NULL, CLSCTX_INPROC_SERVER, __uuidof(_ISWiProjectPtr), (void **) &oISM);
Here i am getting oISM = 0x00000; and hr = class is not registered.
Does anybody know why this is happning?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 21, 2011
01:49 PM
If you want to add a new upgrade entry, you need to call the AddUpgradeTableEntry method on the ISWiProject object.