May 22, 2015
04:31 AM
I solved this issue by manually saving the properties to [SETUPSUPPORTDIR] and then restoring them. However I think that this should be done by the Suite.
... View more
May 14, 2015
09:20 AM
Thank you for the suggestion. The feature state properties are not working in all suite actions. I've tried to create simple SetProperty Action in the UI and the result was the same. I wonder why is that. In the C++ custom actions that were introduced in IS 2012 it is working correctly. DLee65 wrote: Have you added a reference to the library file in your code? That is the only thing that I can think of. For our C++ custom action I had to #import \SetupSuite.exe #import "..\..\..\Redist\Language Independent\i386\SetupSuite.exe" no_namespace raw_interfaces_only named_guids ... HRESULT __stdcall MyCustomAction(IDispatch *pAction); { BSTR upgradeCode = ::SysAllocStringLen(NULL, 2*iGUID); BSTR bstrUpgradeCode(_T("UPGRADE_PROPERTY")); // Create a smart pointer to the IsSuiteExtension COM interface CComQIPtr spSuiteExtension = pAction; CComQIPtr spSuiteExtension2 = pAction; try { hRet = SpSuiteExtention->get_Property(bstrUpgradeCode, &upgradeCode); }... } Ooops, my bad. I just realized that you are working with managed code and wanted to eliminate the C++ code. http://helpnet.flexerasoftware.com/installshield21helplib/helplibrary/SteActionManagedCd.htm I have not used the managed code only InstallScript and C++. Sorry. The above documents the process though. Unfortunately the documentation seems to indicate that objects for feature state are not exposed.
... View more
May 14, 2015
04:09 AM
Anyone knows how to acces properties like "FEATURE[FeatureName].actionState" from the suite actions? It is just not working for me and I have to use the old C++ CustomActions that I wanted to get rid off.
... View more
May 14, 2015
04:07 AM
Hello, After the reboot during installation(i.e. installing .NET framework) suite is started properly and continues the installation. However all the properties are set to default. Is this the intended behaviour? Seems like a bug to me. How can I resolve it?
... View more
Labels
Apr 30, 2015
07:10 AM
Please, noone knows how to make the progressbar in the taskbark working? I am still strugling with this.
... View more
Apr 28, 2015
02:48 PM
Hello, When I try to access properties like "FEATURE[FeatureName].actionState" in suite actions(i.e. Set Property action in Events view or managed code) they are always null. However they work fine when I write the same thing from the UI. How can I access this features from suite actions? I need them in my managed code. Thank you, Marek
... View more
Labels
Apr 22, 2015
09:56 AM
Hello, I have advanced UI/suite project(IS2014 SP1) and when I am installing it, the progress indicator in taskbar is still at 0%. How to make the progressbar move as installation goes? Thank you, Marek
... View more
Labels
Nov 29, 2013
06:03 AM
Hello, Could you please specify what exactly is not working? Your approach seems to be correct.
... View more
Nov 28, 2013
10:46 AM
Thank you for your reply. I only needed ISuiteExtension so I added hidden feature with custom detection as described here: http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteExtCondAuthor.htm#BuildingConditionalStatements_547774590_1039129 I hope it will work fine.
... View more
Nov 28, 2013
07:40 AM
Hello, I have a very simple Advanced UI/Suite project - no changes, only added msi product. I choose custom installation. On the selection feature page I use TAB to navigate the Install button and press enter. The progress page is not shown and the last page looks like the progress page. http://s18.postimg.org/bwovu98mx/Suite_Error.png Is there any way to repair this behaviour? Thanks, Marek
... View more
Labels
Nov 22, 2013
07:59 AM
Hello, I would like to run my custom action in silent mode(setup.exe /silent). Is there any way to do that in Suite project? My action looks like: __declspec(dllexport) HRESULT __stdcall MyCustomAction(IDispatch *pDispSuiteUIExtension) { CComQIPtr spSuiteUIExtenstion = pDispSuiteUIExtension; //Need this code to be executed in silent mode at the start of the installation process. } Many thanks, Marek
... View more
Labels
Oct 17, 2013
04:09 AM
Hello, I am including some content files(xml, .config, ...) from my project. However since the files are under TFS, they are read only and my Basic MSI project will install them as read only. How to tell the MSI project to not make them read only? Thanks, Marek
... View more
Labels
Sep 20, 2013
04:57 AM
Hi, there are more ways to register com in IS. They've recently created whitepaper on this topic http://blogs.flexerasoftware.com/installtalk/2013/07/a-word-about-seemingly-hung-com-extraction-processes-by-josh-stechnij-senior-software-engineer-com-extraction-was-originally.html
... View more
Sep 19, 2013
10:42 AM
TsungH wrote: Alternatively, one can set msidbUpgradeAttributesMigrateFeatures in Attributes column in Upgrade Table. This is also a solution for standard msi upgrade. But you cannot map the msi features to Suite features with only this set. Thank you for your reply.
... View more
Sep 18, 2013
09:41 AM
The solution was quite easy after all but for someone who is not experienced c++ programmer it can be tough. I created suite custom action where I detect which msi features are installed and set the suite feature action state accordingly. It looks like: [CODE] __declspec(dllexport) HRESULT __stdcall DetectUpgradePreviousInstalledFeatures(IDispatch *pDispSuiteUIExtension) { CComQIPtr spSuiteUIExtenstion = pDispSuiteUIExtension; wchar_t productCode[255]; if(MsiEnumRelatedProducts(L"{MSIUPGRADECODEGUIDINBRACKETS}", 0, 0, productCode) == 0){ INSTALLSTATE featureState = MsiQueryFeatureState(productCode, L"FeatureName"); spSuiteUIExtenstion->put_Property(CComBSTR(L"FEATURE[FeatureName].actionState"), featureState == 3 ? CComBSTR(L"install") : CComBSTR(L"")); } return S_OK; } [/CODE] Of course there is need to add msi.h headder and add msi.lib to linker.
... View more
Latest posts by Marek22
Subject | Views | Posted |
---|---|---|
556 | May 22, 2015 04:31 AM | |
956 | May 14, 2015 09:20 AM | |
956 | May 14, 2015 04:09 AM | |
1907 | May 14, 2015 04:07 AM | |
532 | Apr 30, 2015 07:10 AM | |
2608 | Apr 28, 2015 02:48 PM | |
1311 | Apr 22, 2015 09:56 AM | |
780 | Nov 29, 2013 06:03 AM | |
757 | Nov 28, 2013 10:46 AM | |
2968 | Nov 28, 2013 07:40 AM |
Activity Feed
- Posted Re: Advaced UI/Suite Property Values After Reboot on InstallShield Forum. May 22, 2015 04:31 AM
- Posted Re: Suite Actions Can't Access System Properties on InstallShield Forum. May 14, 2015 09:20 AM
- Posted Re: Suite Actions Can't Access System Properties on InstallShield Forum. May 14, 2015 04:09 AM
- Posted Advaced UI/Suite Property Values After Reboot on InstallShield Forum. May 14, 2015 04:07 AM
- Tagged Advaced UI/Suite Property Values After Reboot on InstallShield Forum. May 14, 2015 04:07 AM
- Tagged Advaced UI/Suite Property Values After Reboot on InstallShield Forum. May 14, 2015 04:07 AM
- Posted Re: Advanced UI Suite Taskbar Progress Not Working on InstallShield Forum. Apr 30, 2015 07:10 AM
- Posted Suite Actions Can't Access System Properties on InstallShield Forum. Apr 28, 2015 02:48 PM
- Tagged Suite Actions Can't Access System Properties on InstallShield Forum. Apr 28, 2015 02:48 PM
- Posted Advanced UI Suite Taskbar Progress Not Working on InstallShield Forum. Apr 22, 2015 09:56 AM
- Tagged Advanced UI Suite Taskbar Progress Not Working on InstallShield Forum. Apr 22, 2015 09:56 AM
- Tagged Advanced UI Suite Taskbar Progress Not Working on InstallShield Forum. Apr 22, 2015 09:56 AM
- Posted Re: Major upgrade not working on InstallShield Forum. Nov 29, 2013 06:03 AM
- Posted Re: Advanced UI/Suite Run Custom Action in Silent Mode on InstallShield Forum. Nov 28, 2013 10:46 AM
- Posted Advanced UI/Suite Installation Bug on InstallShield Forum. Nov 28, 2013 07:40 AM
- Tagged Advanced UI/Suite Installation Bug on InstallShield Forum. Nov 28, 2013 07:40 AM
- Tagged Advanced UI/Suite Installation Bug on InstallShield Forum. Nov 28, 2013 07:40 AM
- Tagged Advanced UI/Suite Installation Bug on InstallShield Forum. Nov 28, 2013 07:40 AM
- Posted Advanced UI/Suite Run Custom Action in Silent Mode on InstallShield Forum. Nov 22, 2013 07:59 AM
- Tagged Advanced UI/Suite Run Custom Action in Silent Mode on InstallShield Forum. Nov 22, 2013 07:59 AM