Nov 30, 2007
08:27 AM
The property you set in System Search will contain the value in your registry key. If the key doesn't exist, the property won't exist. So, in your Launch Condition, all you have to check for is the existence of the property; it's never going to "=TRUE". So in the condition builder, just put the name of the property.
... View more
Nov 28, 2007
07:22 AM
Is your custom action set to execute after InstallFiles in deferred context?
... View more
Nov 27, 2007
07:40 AM
I've done this two ways: I've set up the UI in the wrapper script project, run the msi's from OnFirstUIBefore, then aborted the wrapper setup. I've also set up the wrapper setup with a dummy feature, created a script-created media set to list all the installs available, displayed all my UI, then called a function in OnFirstUIAfter that runs the other setups selected using MsiInstallProduct for msi's and LaunchAppAndWait for setup.exe's. I can then track any errors using MsiInstallProduct's return code and LAAW_PARAMETERS.nLaunchResult. In the latter project, I set the wrapper setup project's "Maintenance Experience" to "no uninstall or maintenance" and "Update Supported" to "No" so that my wrapper always runs as a new install, and in OnBegin I look for my products and set global variables so that I can present them as already installed in my UI. Basically, this project acts as an "install controller" for our suite of products so that customers can use it to install, add or remove plug-ins, upgrade, or uninstall.
... View more
Nov 26, 2007
07:03 AM
First, I would suggest creating a log file to see if it can tell you what the problem is. What kind of project? If it's a Basic MSI, I would also suggest running validation against the project to see if that can uncover any errors. Also, if it's a Basic MSI, and you have one component with multiple executable files (exe and/or dll) in it, you have broken Windows Installer's component rules and you could be setting yourself up for some real issues for later upgrades and for repairs. Each component should contain only one executable file, and that file should be the key for the component.
... View more
Nov 26, 2007
06:57 AM
If any of the files have a .msi extension, they are viewable in Orca. If they are .exe files, then they might extract some embedded stuff, part of which may be an .msi file. Usually, you can find extracted files in the Documents and Settings\ \Local Settings\Temp directory somewhere, often in a subfolder by a GUID. If you start the install and get to some kind of Welcome screen, you should then be able to look for the temp directory and save whatever files are in there for further examination. Hope this helps!
... View more
Nov 23, 2007
08:05 AM
When you say you don't have the previous installs, I'm assuming you mean that you don't have the actual projects? Were they MSIs? If you have the MSI file you should be able to get the product code for each using a tool like Orca, then you can uninstall it in a custom action using the product code. You can also use the API to detect if a product has been installed with that product code (in a custom action). Or, you can use AppSearch (through System Search view) to look for specific files in the directories you know might be there to determine which are already installed. To uninstall them, though, you would still have to know either the product code, the update code, or both. If you know the upgrade code, you can simply set an Upgrade Table item in your new install to uninstall the old one. If the previous installs were built using Wise's version of InstallScript instead of MSI, then I don't know what to suggest...
... View more
Nov 23, 2007
07:57 AM
The only way I've ever managed to do this successfully is by writing an InstallScript setup that runs the other setups behind the scenes. The front-end setup displays options for the "background" setups, gathers all user input, then initiates them silently with user input set as properties on the command line.
... View more
Nov 19, 2007
07:49 AM
I think you're on the right track. What do you mean when you say "that would contain about 15 other merge modules"? Do you mean that your MM has dependecies set for these other MMs? I think that's the way to go. Your "master" module will contain only the "loose dll's" but any time you include it, the dependent MMs will also be pulled in.
... View more
Nov 15, 2007
06:22 AM
What kind of project are you using? With a Basic MSI, you could create a custom dialog with the radio buttons, then use the corresponding property to conditionally set the contents of ADDLOCAL and REMOVE. With an InstallScript project, you can use either a custom dialog or one of the standard option dialogs, and then in your script set the feature state of the features based on the option selected. Hope this helps.
... View more
Nov 13, 2007
08:57 AM
That depends. What kind of project is your installer? What kind of installer do you want to embed? It's easy to run an MSI from within a pure InstallScript installer. It's not so easy to run an MSI from within an MSI or InstallScript MSI project.
... View more
Nov 01, 2007
07:10 AM
Can you post a few more details on how you created your System Search, and how you're getting the message box to pop up? The issue is probably in those details.
... View more
Oct 31, 2007
08:52 AM
Just a thought here. If your install must run in a Terminal Services environment, keep in mind that your users may not have a C:\ drive.
... View more
Oct 18, 2007
07:13 AM
First, what kind of project are you using, Basic MSI, InstallScript or InstallScript MSI? Second, how are you retrieving the previous installation directory, and how/when are you setting INSTALLDIR to that value? Have you logged an upgrade installation that put files in the wrong path?
... View more
Oct 05, 2007
09:23 AM
If you're using an MSI project, have you tried using AppSearch to get the value from the .ini file, and then using a SetDirectory custom action to apply that value to specific entry in the Directory table?
... View more
- « Previous
- Next »
Latest posts by KathyMorey
Subject | Views | Posted |
---|---|---|
649 | Jul 08, 2011 08:29 AM | |
536 | Apr 29, 2011 10:37 AM | |
631 | Apr 29, 2011 10:27 AM | |
1444 | Apr 14, 2011 09:18 AM | |
699 | Apr 08, 2011 09:10 AM | |
1542 | Apr 08, 2011 08:49 AM | |
705 | Apr 04, 2011 09:17 AM | |
714 | Mar 21, 2011 11:01 AM | |
541 | Mar 17, 2011 08:48 AM | |
800 | Mar 17, 2011 08:47 AM |
Activity Feed
- Got a Kudo for Re: Uninstall removes entire registry key. Jul 22, 2019 01:05 PM
- Posted Re: Merge Module installs service and will not uninstall on InstallShield Forum. Jul 08, 2011 08:29 AM
- Posted Re: Product Code GUID problem on InstallShield Forum. Apr 29, 2011 10:37 AM
- Posted Re: How to Uninstall Existing product? on InstallShield Forum. Apr 29, 2011 10:27 AM
- Posted Re: Component Not Installing After Major Upgrade... on InstallShield Forum. Apr 14, 2011 09:18 AM
- Posted Re: Major Upgrade is removing files on InstallShield Forum. Apr 08, 2011 09:10 AM
- Posted Re: Deleting Files Used Only for Installation on InstallShield Forum. Apr 08, 2011 08:49 AM
- Posted Re: General uninstall problem on InstallShield Forum. Apr 04, 2011 09:17 AM
- Posted Re: Get Version of old Product during Update? on InstallShield Forum. Mar 21, 2011 11:01 AM
- Posted Re: Major upgrade results in multiple instances in Add/remove programs on InstallShield Forum. Mar 17, 2011 08:48 AM
- Posted Re: Nested .msp in Installshield 2010? on InstallShield Forum. Mar 17, 2011 08:47 AM
- Posted Re: Installscript Custom Action and Mapped Drive on InstallShield Forum. Mar 07, 2011 08:08 AM
- Posted Re: Force INSTALLDIR on InstallShield Forum. Mar 07, 2011 08:04 AM
- Posted Re: How do I get properties from original install for upgrade on InstallShield Forum. Mar 01, 2011 09:54 AM
- Posted Re: Release Wizard - How do I output MSI file on InstallShield Forum. Feb 16, 2011 08:38 AM
- Posted Re: .exe Not Updating on InstallShield Forum. Feb 15, 2011 09:30 AM
- Posted Re: Upgrade two products simultaneously on InstallShield Forum. Feb 11, 2011 08:01 AM
- Posted Re: Removing old version on InstallShield Forum. Feb 10, 2011 08:25 AM
- Posted Re: Conditional installation of a merge module on InstallShield Forum. Feb 10, 2011 08:22 AM
- Posted Re: Major Upgrade Issue/Bug/Procedural Problem on InstallShield Forum. Feb 10, 2011 08:14 AM