Mar 06, 2014
07:51 AM
rakumar wrote: Hi, Go to Project Assistant tab and select Installation Interview panel. Select Yes for “Do you want to give users the option to launch your application when the installation completes?” and provide your .exe location. Now when you install your application it would show a check box saying ‘Launch’ on installation success dialog. Select the checkbox and click on Finish. Your exe would launch. Regards, Rajesh Kumar Hi Rajesh. Thank you for your reply. Unfortunately I do not have the luxury of a Finish-dialogue, since I am running in either Silent (/qs) or Basic-UI (/qb). What you suggest would work, but It is not an option which I can use, unfortunately. If it is possible to emmulate this behaviour automatically without using the UI-sequence, then I would like to hear how. Best regards.
... View more
Mar 05, 2014
08:59 AM
Dear community. I need to be able to launch a setup.exe, which is installed from a MSI file. To sum up the problem: I have an MSI-file (created as a Basic-MSI project in InstallShield 2013), containing a setup.exe which deploys on the users computer. I need to launch this setup.exe after the MSI is done installing. It needs to happen automatically, and there is no UI avaliable (Either it is silent or with basic-UI) so binding an action to the Finish Button of the SetupCompleteSuccess dialogue is not an option. My guess is that this is somewhat possible with the use of a custom action, placed after the InstallFinalize-step in the exec-sequence. However, I have not succeded in getting this to work. I have, however managed to start NotePad, but not the setup.exe I am deploying myself. I can manually start the setup.exe after it has been deployed, so I know it works - I just can't get the installer to start it without any problems. Starting it before the InstallFinalize step, is unfortunately not an option either, since it will fail, due to multiple installation processes running. There are many more elegant ways to design this, than wrapping a setup.exe in a MSI, but unfortunately a Single MSI file containing the setup.exe is a hard requirement, so alternative solutions is unfortunately not an option. I have tried many things, but I have not gotten anything to work, so any help is much much appreciated. Best regards and thanks in advance C
... View more
Labels
- Labels:
-
InstallShield 2013
Apr 15, 2013
08:59 AM
If someone happens to read this, it is unfortunately still unresolved. Any help is much apreciated
... View more
Mar 04, 2013
04:02 AM
Hello Kelter. I am testing on Vista and Windows 7 with UAC turned on.
... View more
Feb 26, 2013
10:47 AM
Unfortunately that did not do the trick either 😞 I converted it to an imediate (So it's new MSI Type number is 226), and placed it right after InstallFinalize. The result was unfortunately that it didn't start. I also tried (just to see if I could get it to work with the action being imediate) I tried to remove it from the execution sequence, and instead binding the action to the OK button, on the SetupCompleteSuccess-dialog. It did start it this time, but unfortunately still elevated. I saw the same behavior with Immeditate Execution (Terminal Server Aware). Let me elaborate on another fact about this custom action, which might be beneficial in identifying the solution. The installer uses the Chained MSI technology. It is built with a 'Mother-MSI', which (among other things) is responsible for chaining in several other MSI packages. One of these packages is the application itself, and the Custom action (Which is located in the Mother-MSI) targets one of it's EXE-files. That is the reason for my initial choice of Commit-execution, since I want to make sure that the EXE is there. Do you have a good idea that I can try? All the best /C P.S. Thanks for the replies so far - it means a lot 🙂
... View more
Feb 26, 2013
03:55 AM
Hello again. I do not need it per say - but since you suggested it, I tried to build another installer, without In-Script Execution set to Terminal Server Aware. Alas, the application still starts as administrator, when I finish the installation 😞 Do you have any other suggestions? Kind regards C
... View more
Feb 22, 2013
05:34 AM
Dear comminuty. I have been away on other tasks, so this issue has been dormant for quite some time. But I am now back on the task, and the issue still remains, taht I need to launch my application as a non-administrator. First some facts, which should also answer some of your questions, Barbara: My installation is a basic MSI project, written in InstallShield 2012. I am using the Chained MSI-technology, and the Setup Exe always runs in elevated mode (By checking that it requires Administrative priviliges in The 'General Information view'. My application is launched from a custom action, with Asyncronous (No wait for Completion) Return Processing and In-Script Execution 'Commit Execution (Terminal Server Aware) (MSI-type 18146). My Working Directory is INSTALLDIR, and my Filename and Commandline is "[INSTALLDIR] .exe" . The reason for putting it here, and not on the finish-button, is that the application should _always_ start - it is not an option not to. Furthermore, it needs to start when installed in silent mode. I have placed it in the Installation-Execute sequence right before InstallFinalize. It works like a charm - the application starts flawlessly, but it is still running elevated. And it needs to run as a non-admin! I hope this is enough information for you to answer my question. Have a nice day 🙂
... View more
Nov 13, 2012
05:44 AM
Dear community. A Quick question: Making an application launch after finished installation is very easy, and there are several ways to accomplish it. However, it will (as it is now) always be launched with ADMINISTRATIVE rights (Like when you right click, and chose 'Run as Administrator'). I want it to start up with NORMAL rights - and I can't seem to find a way to do so. So therefore, dear community, do you know how to accomplish this? All the best
... View more
Labels
- Labels:
-
InstallShield 2012
Sep 27, 2012
09:15 AM
Thank you, Michael, for your reply. I am glad that it wasn't me who just had overlooked something obvious 🙂 I will look into what the Suite installation can offer 🙂
... View more
Sep 26, 2012
08:30 AM
I would still like to get this issue solved, so therefore I am bumping my plead of help. I hope there is anyone out there, who knows a fix to this problem!
... View more
Aug 09, 2012
04:32 AM
I managed to solve the problem myself 🙂 I removed the merge modules from my chained MSI, and put them as prerequisites (NMicrosoft Visual C++ 2010 Redistributable Package (x86)) for my main installation. In that way, they will all be in place before my own installation starts.
... View more
Aug 08, 2012
09:28 AM
I have an interesting problem. Here is the long version - I have put the short version below: I have developed an application, which needs to be registered against another third party application during installation. I am developing the installation as a Basic MSI project. To solve the regiostration problem, I have created a custom action, which calls MyApplication.exe with /regserver. Since the exe I call is installed with the application, I have made the custom action's in-script execution 'Deferred in System Context'. It executes just before InstallFinalize. I cannot use any of the installshield build-in ways of registering assemblis, due to carious issue, which I won't trouble you with here - it is enough to state that I need to make it as a custom action. Besides deploying my files, my installation also includes several microsoft Merge modules (like Visual C++ 10.0 CRT etc.). Lastly, the MSI is part of a chained installation. The MSI is launced from a parent MSI. Now - to the problem itself. The Third party application, which I am registering against, is also using some of these Microsoft Merge Modules - but an older version of them. This means, that my installation wants to update the merge module, and therefore the restart manager pops up and wants to stop my thirdpart-applications service. If I chose to stop it, my installation fails, when I get to my custom action (the registration can't be made without the service. If I chose to just continiue, the installation completes just fine. On an XP however, I don't have the restart manager to detect that the file is in use, and therefore my installation just flat out fails. So - what to do? I have a few ideas, but I am in doubt what would be the smartest, and I hope you will be able to assist. I am thinking - if I in some way can postpone the custom action untill after a reboot, if I can detect that the merge modules will be in use (both with and without the restart manager). Bot how to accomplish that, I do not know. The short version, this is what I want: - Detect if any of the Merge Modules (or older versions), which I am about to install, are in use (without using the Restart manager, sicne I need to support Win XP) - If no, then just continiue, and do my registration at the end of the installation. - if yes, then schedule the registration to happen after a reboot, and put said reboot in the end of the installation (do note, that my MSI is part of a chain, and is therefore launched from a parent-msi) Any help to accomplishing this, is much appreciated Thanks in advance
... View more
Labels
- Labels:
-
InstallShield 2012
Aug 08, 2012
01:43 AM
I have found a half solution to the problem - however a new problem have arrived. I got the 1730 error, because the chaned packages was running without UI, and therefore UAC dialogs weren't displayed when uninstalling them, preventing them from aquireing admin rights => error 1730. Giving the chained packages a basic UI, I am now able to see the UAC dialog, and I am now able to elevate the rights for all my chained packages. And herein lies the new problem... When uninstalling my application, I am getting an UAC dialog for every single one of the installed packages. This can potentially be a lot of dialogs, and if the user fails to answer a single one, the whole uninstallation will fail. The scenario that I want, is to get only a single UAC dialog when I initiate the uninstall, and in some way pass the elevated rights on to my chained packages. I only see one UAC dialog when installing. Can it in any way count for uninstallation as well? Any help is much appreciated. Thanks in advance
... View more
Jan 26, 2012
04:27 AM
Bumping this thread, since I am still having trouble with this issue! Any help is much appreciated! Best regards
... View more
Jan 11, 2012
03:34 AM
Dear Flexera Short version: Is there direct support for minor and small upgrades for chained MSI installers in InstallShield 2012? If not – what are the exact steps I need to do, in order to get it working? The longer version: I have developed an installer, using the Chained MSI technology to componentize my installation. Installation and major upgrades works just fine, but it is another case when it comes to Small and Minor upgrades. For now, let’s focus on minor upgrades, since small upgrades are less relevant in my case. I get the following in my MSI log, whenever I try to do a minor upgrade. I have edited the version number of the main MSI and those of the chained MSI’s which has been edited. No product codes has been changed, as it should be when doing minor upgrades. However, after the installation, only the main MSI has been upgraded – no changes to the chained packages. In the MSI log, I can see the following: InstallShield 9:18:25: Skipping chained package Pkg1 installation because it is already installed InstallShield 9:18:25: Skipping chained package Pkg2 installation because it is already installed InstallShield 9:18:25: Skipping chained package Pkg3 installation because it is already installed InstallShield 9:18:25: Skipping chained package Pkg4 installation because it is already installed So, I start to google it, and I stumble upon this nicely written White Paper, concerning Chained MSI installations: http://www.danysoft.com/free/wp_is_UsingChainedMSIs.pdf There, it clearly states on page 6 in the bottom, that Small and Minor upgrades does not work by default. It does, however, mention a workaround, but not one I have had success with implementing. I can see from this post on (from the InstallShield 2010 forum), that the problem existed back then, and that there is an open Work-order# IOC-000079413 to implement this feature: http://community.flexerasoftware.com/archive/index.php?t-196335.html It does not seem, neither from the release-notes or my own experience with InstallShield 2012, that there is any support for it yet. When is this planned to become supported? Until then - what is the exact steps to get it to work right now? According to the previously mentioned White Paper, I should be able to get it to work, by adding 16 in the Options-column of the ISChainPackages. That I have tried, but it yielded a failed installation, with the following in the MSI-log: [FONT="Courier New"]MSI (s) (A8:88) [09:53:51:648]: Windows Installer reconfigured the product. Product Name: MyProductName. Product Version: 0.0.2.0. Product Language: 1033. Reconfiguration success or error status: 1638. MSI (s) (A8:88) [09:53:51:648]: MainEngineThread is returning 1638 Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.[/FONT] Do I need to pass some properties or install conditions to the chained packages in the release-view as well? Any help is much appreciated. Best regards Christian
... View more
Labels
- Labels:
-
InstallShield 2012
Latest posts by ChrSchmidt
Subject | Views | Posted |
---|---|---|
1303 | Mar 06, 2014 07:51 AM | |
6611 | Mar 05, 2014 08:59 AM | |
2759 | Apr 15, 2013 08:59 AM | |
2759 | Mar 04, 2013 04:02 AM | |
2759 | Feb 26, 2013 10:47 AM | |
2759 | Feb 26, 2013 03:55 AM | |
2759 | Feb 22, 2013 05:34 AM | |
8795 | Nov 13, 2012 05:44 AM | |
1418 | Sep 27, 2012 09:15 AM | |
1418 | Sep 26, 2012 08:30 AM |
Activity Feed
- Posted Re: Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 06, 2014 07:51 AM
- Posted Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Tagged Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Tagged Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Tagged Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Tagged Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Tagged Launch setup.exe, installed from MSI file after MSI installation completes on InstallShield Forum. Mar 05, 2014 08:59 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Apr 15, 2013 08:59 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Mar 04, 2013 04:02 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 26, 2013 10:47 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 26, 2013 03:55 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 22, 2013 05:34 AM
- Posted Launch application after install as Non administrator on InstallShield Forum. Nov 13, 2012 05:44 AM
- Posted Re: Error 1730 (needs admin rights) when uninstalling chained msi on Vista/Win 7 on InstallShield Forum. Sep 27, 2012 09:15 AM
- Posted Re: Error 1730 (needs admin rights) when uninstalling chained msi on Vista/Win 7 on InstallShield Forum. Sep 26, 2012 08:30 AM
- Posted Re: Custom Action after Reboot on InstallShield Forum. Aug 09, 2012 04:32 AM
- Posted Custom Action after Reboot on InstallShield Forum. Aug 08, 2012 09:28 AM
- Posted Re: Error 1730 (needs admin rights) when uninstalling chained msi on Vista/Win 7 on InstallShield Forum. Aug 08, 2012 01:43 AM
- Posted Re: Small and Minor upgrades for chanined MSI installers - How to? on InstallShield Forum. Jan 26, 2012 04:27 AM
- Posted Small and Minor upgrades for chanined MSI installers - How to? on InstallShield Forum. Jan 11, 2012 03:34 AM