Dec 30, 2010
08:43 AM
Actually, it does. I've found that if .NET 3.5 SP1 (which is what we required before) is not installed on a machine, and we install .NET 4.0, the operating system will require the WIC component.
... View more
Dec 30, 2010
08:38 AM
Your best bet might be to use an InstallScript project, so that the wrapper project isn't registered on the machine as a Windows Installer application. We've done something similar (although ours will install, uninstall or modify a suite of products). We put any customer input required in OnFirstUIBefore, and used OnFirstUIAfter to simply run the other executables or MSI files. We also set up the InstallScript product so that it always installs as though it were the first time, and handled upgrades by detecting if the embedded project is present and running the current installation with the appropriate command line switches to the MSI. (We do display a dialog in that case to detemine if we should upgrade or uninstall.) Good luck!
... View more
Dec 30, 2010
08:31 AM
Unfortunately, no, not that I've found.
... View more
Dec 30, 2010
08:26 AM
I don't think you can do that. Take a look at the Windows Installer documentation for the KeyPath column in the Components table. (From the IS IDE, go to the Direct Editor, select the Components table, click in it and hit F1). Could you install those files by embedding them in an exe that is run from a custom action in your install? Then Windows Installer won't know anything about them, and removing them won't trigger a repair. (Of course, you'll have to handle rollback, uninstallation and upgrade from custom actions as well.)
... View more
Dec 28, 2010
02:31 PM
As I meant to say, you can't really turn OFF the Windows Installer functionality that repairs installs with missing components. Is there a reason you want to remove files installed with your application? Could you serve your purpose by making the installation of the files conditional in some way? If you are installing components with a keypath of a folder, you should be able to delete the files but leave the folder, and repair shouldn't be triggered. (I think.) Good luck.
... View more
Dec 23, 2010
02:11 PM
As I understand it, every component has a keypath for Windows Installer. If it is not a file name, then I think it defaults to the folder the file is in. Is your application deleting folders? I don't think there is any way to actually turn on the Installer functionality that repairs if it finds missing components. What you might do is turn on automatic logging on the machine and see what Windows Installer is checking that triggers the repair. (Registry key: HKLM->Software\Policies\Microsoft\Windows\Installer; name "Logging", value "voicewarmup")
... View more
Dec 17, 2010
08:34 AM
You might want to search these forums and the IS HelpNet for information about using dynamic linking. In general, though, the way IS handles dynamic linking (in MSIs) is to create a component for each folder or subfolder, since the Windows Installer can install a component's contents only to one folder. IS then generates a GUID for each of those components. I don't know the reason, exactly, but IS doesn't seem to be able to synch GUIDs for components for minor upgrades when the dynamic link is more than one folder "deep". From what I have seen in these forums (and in my experience) you will have issues with minor updates if you have dynamic links that include subfolders. You would be better off either creating a component for each subfolder, or using major upgrades (uninstall, then reinstall) if you use dynamic links with subfolders.
... View more
Dec 17, 2010
08:09 AM
Unfortunately, I haven't found a way to do that yet. I've been thinking of getting rid of my entries in the MSI tables and trying to handle things through a custom action, by checking to see if the uninstall is from a major upgrade and not uninstalling the service if true. Haven't had a chance to see if this would work though. I'd be interested in hearing if you come up with any solutions!
... View more
Dec 10, 2010
08:24 AM
Be sure to search this forum and the IS HelpNet for issues using Dynamic Linking. It is very convenient, but has definite ramifications if you want to do minor updates later.
... View more
Nov 18, 2010
08:24 AM
Have you looked at a log file to determine where it is getting changed? If you look at the AppSearch action you should be able to tell if is being retrieved properly, and if you do a search on that property name you should be able to see if it is getting re-written somewhere. I assume you are using IS XML handling; if the property is being retrieved properly and not being changed by Windows Installer, then it must be the IS XML dll that is doing it and you'll have to go to their Support people to find out if you can prevent it. (Or write your own dll to do the XML handling...)
... View more
Nov 17, 2010
09:32 AM
I'm a little confused. Are you saying that the value returned in the AppSearch is modified? Or is the value getting modified later throught some other action?
... View more
Nov 09, 2010
08:14 AM
You may be able to override the version numbers so that your minor upgrade will work. Right-click on the individual file name in the Files View, click properties, and enter a higher version number. The MSI will build with the higher number so that the comparison will be "tricked" into thinking it has a higher version and should replace it. This isn't the "best practice" (you should change the version number for newer versioned files), but it may help you get around your issue.
... View more
Oct 27, 2010
07:54 AM
Basic MSI has a standard custom action (type 19) that will display a message and abort; you wouldn't need to use InstallScript to accomplish that.
... View more
Oct 26, 2010
08:04 AM
Or set up your own searches on the registry keys using the AppSearch table, which shows up in the System Search view.
... View more
Oct 26, 2010
08:03 AM
Check further in the log, around RemoveExistingProducts, to see if it tells you anything else. One reason I can think of offhand is if the product was originally installed per-machine and the upgrade is running per-user.
... View more
Latest posts by KathyMorey
Subject | Views | Posted |
---|---|---|
649 | Jul 08, 2011 08:29 AM | |
537 | 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