Sep 16, 2013
07:53 AM
The article about how to write custom dll into suite installer is here http://blogs.flexerasoftware.com/installtalk/2011/12/calling-a-function-in-a-dll-from-a-wizard-page-or-window-in-a-suite-installation.html http://helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SteFeatureStateOvrvw.htm
... View more
Sep 16, 2013
07:00 AM
Hello, To achieve any custom functionality, it is good to write your own c++ actions(make sure you compile your dll as Multi-Threaded). Idea how the code looks like is: #import "C:\Program Files (x86)\InstallShield\2012Spring\Redist\Language Independent\i386\SetupSuite.exe" no_namespace raw_interfaces_only named_guids extern "C" { __declspec(dllexport) HRESULT __stdcall MyCustomActions(IDispatch *pDispSuiteUIExtension) { CComQIPtr spSuiteUIExtenstion = pDispSuiteUIExtension; } } Hope it helps, Marek
... View more
Sep 13, 2013
11:18 AM
Hello, I've created the suite installation that installs MSI with features. It allows user to select one or more features. Now I am creating major upgrade for this product and I need to upgrade only the features the user previously installed. However since the upgrade have new product code, the suite installer does not detect which features are installed and select all of them for upgrade. Is there any way how to detect the installed features or tell the msi to upgrade only what is installed? I used technique described here for the original suite: http://blogs.flexerasoftware.com/installtalk/2013/01/configuring-package-features-from-a-suiteadvanced-ui-or-advanced-ui-installer.html Many thanks, Marek
... View more
Labels
Sep 11, 2013
08:32 AM
Hi, The ref counts are there because you have selected yes for "Shared" option on your component. I dont know why is this option yes by default since we dont need to share most files. So if you dont need the ref count, just set it to No. You can also try to uninstall your program, remove refcount from registry(just search for filename in registry) and try it with clear registry. Hope it helps
... View more
Jul 27, 2013
03:12 AM
For basic MSI there needs to be included setup.exe wrapper which takes some cost. There is also auto dependency scan which you should always check if it adds what you really need(File view, dependencies from scan at build). And the other reason i guess it have much nicer UI than other MSIs and it takes some cost. To reduce your setup size, you can also enable zip or lze compression. Regards, Marek
... View more
Jul 27, 2013
02:56 AM
Hello, .NET Windows service installer class is using very fragile technology to install this services. The best practice is to use some higher Installshield version and configure windows service in Services tab. The error 1001 is unhandled exception in .NET code. You should create blank .NET installer class(without designer), override the OnCommit method and add big try catch. In the catch you should display MessageBox with exception for debugging purposes. And write install logic inside OnCommit method. Also remember to uninstall your service. http://blogs.flexerasoftware.com/installtalk/2012/11/using-installshield-to-create-an-installation-that-installs-windows-services.html Hope it helps, Marek
... View more
Jul 25, 2013
04:50 AM
It seems that problem was caused because 64bit C++ project output was included in my setup. It was working correctly from Visual Studio but it failed from TFS build. Maybe because the msbuild needs to be 32 bit in order to build installshield projects. So strange, I've added this projects differently and it is working fine. Still many thanks for your time Christopher.
... View more
Jul 24, 2013
10:42 AM
Hello, I am having following error when I am building my basic msi project with TFS Build. When I press Build/Rebuild from my Visual Studio, it works just fine. I am getting out of ideas. C:\Program Files (x86)\MSBuild\InstallShield\2012Spring\InstallShield.targets (69): -5023: Error building table File C:\Program Files (x86)\MSBuild\InstallShield\2012Spring\InstallShield.targets (69): Exception Caught Many thanks for any ideas, Marek
... View more
Labels
Jun 28, 2013
02:43 AM
Please, noone really knows how to configure this recovery conditions? I found nothing on the internet and in the documentation.
... View more
Jun 23, 2013
08:32 AM
Hi, I had the same issue and i solved it after consultation with Christopher Painter. Ive created empty .csproj with the same name as suite and manually added following msbuild code. I also have .issuite file included in my .csproj so I can checkin and checkout this file. All changes in .issuite I do using the authoring tool because i found it just better. To modify the IsCmdBld.exe parameters i used http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/UsingIScmdBld.htm $(MSBuildProjectDirectory)\$(MSBuildProjectName).issuite ... Best regards, Marek
... View more
Jun 22, 2013
12:06 PM
Hello, I was trying to configure recovery actions for my service on install, but the error has occured. The error and my IS configuration and desired windows service configuration is on the pictures. How can I correctly configure this Recovery Actions? I am running the setup as administrator and when I do the configuration manually, it just works. And the second question is how to configure this service to act reasonable during the patch progress. By reasonable I mean: 1. Stop service 2. Patch files 3. Start service This topic is not very well documented and I cant find it anywhere on the web. Everyone is just recomending using some .exe custom actions and I wanted to avoid that since IS has support for installing services. Many thanks, Marek Log: [CODE]MSI (s) (90:64) [18:58:24:313]: Executing op: ServiceInstall(Name=MarekService,DisplayName=MarekService,ImagePath="C:\Program Files (x86)\Marek\MarekService\MarekService.exe",ServiceType=16,StartType=2,ErrorControl=32769,,Dependencies=[~],,,Password=**********,Description=Mareks windows service,,) InstallServices: Service: MSI (s) (90:64) [18:58:24:314]: Executing op: ActionStart(Name=MsiConfigureServices,,) Action 18:58:24: MsiConfigureServices. MSI (s) (90:64) [18:58:24:315]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (90:64) [18:58:24:315]: Executing op: ServiceConfigure(,Name=MarekService,Event=1,ConfigType=4,Argument=1) MSI (s) (90:64) [18:58:24:316]: Changing configuration of service MarekService. MSI (s) (90:64) [18:58:24:316]: Changed configuration of service MarekService with ConfigType SERVICE_CONFIG_FAILURE_ACTIONS_FLAG MSI (s) (90:64) [18:58:24:316]: Done changing configuration of service MarekService MSI (s) (90:64) [18:58:24:316]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000) MSI (s) (90:64) [18:58:24:316]: Executing op: ServiceConfigureFailureAction(,Name=MarekService,Event=1,ResetPeriod=60,,,Actions=1[~][~],DelayActions=1000[~][~]) MSI (s) (90:64) [18:58:24:316]: Changing configuration of failure action for service MarekService. MSI (s) (90:64) [18:58:24:317]: Error: 5. Failed to change current configuration of failure action for service MarekService MSI (s) (90:64) [18:58:24:317]: Failed to change configuration of failure action for service MarekService Error 1939. Service 'MarekService' (MarekService) could not be configured. This could be a problem with the package or your permissions. Verify that you have sufficient privileges to configure system services. MSI (s) (90:64) [18:58:25:392]: Product: MarekService -- Error 1939. Service 'MarekService' (MarekService) could not be configured. This could be a problem with the package or your permissions. Verify that you have sufficient privileges to configure system services.[/CODE]
... View more
Labels
Mar 08, 2013
08:02 AM
Hello there, The best way to assign suite features to msi features is described in our beloved installTalk blog: http://blogs.flexerasoftware.com/installtalk/2013/01/configuring-package-features-from-a-suiteadvanced-ui-or-advanced-ui-installer.html It works just fine for integrating suite with Basic MSI and InstallScript projects. The best way to extend advanced ui suite is through custom action dlls written ie. in c++. You can find how to do that here: http://community.flexerasoftware.com/archive/index.php?t-200249.html http://blogs.flexerasoftware.com/installtalk/2011/12/calling-a-function-in-a-dll-from-a-wizard-page-or-window-in-a-suite-installation.html I also want to warn you, that when you are passing properties to msi, it should be all in big capital letters ie. DATABASE_TYPE=[SUITE_SELECTED_TYPE] Hope it helps, Best regards, Marek
... View more
Mar 07, 2013
06:55 AM
Answer can be found here http://community.flexerasoftware.com/archive/index.php?t-200249.html
... View more
Mar 06, 2013
06:38 AM
Hello, I am trying to create custom DLL with actions for advanced UI suite project. I was unable to find some simple example how to implement that function. My approach was: void _stdcall MyAction() { ISuiteUIExtensionPtr ptr; ISuiteUIExtension* suiteUIExtension = ptr.GetInterfacePtr(); suiteUIExtension->put_Property(BSTR("Test"), BSTR("hello")); } But seems not to work by calling it in action using : {MyActions::MyAction} Can anyone please share some sample code, how this function should be implemented? Many thanks, Marek
... View more
Labels
Feb 18, 2013
12:35 PM
Hello, I was wondering how can I set some properties in my merge modules from my msi installer. Any ideas? Or maybye how can i set some properties in msi from advanced ui project? Thank you very much for your responses, Marek
... View more
Labels
- « Previous
-
- 1
- 2
- Next »
Latest posts by Marek22
Subject | Views | Posted |
---|---|---|
555 | May 22, 2015 04:31 AM | |
955 | May 14, 2015 09:20 AM | |
955 | May 14, 2015 04:09 AM | |
1906 | May 14, 2015 04:07 AM | |
531 | Apr 30, 2015 07:10 AM | |
2607 | Apr 28, 2015 02:48 PM | |
1310 | Apr 22, 2015 09:56 AM | |
779 | Nov 29, 2013 06:03 AM | |
756 | 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