Jul 15, 2013
10:15 AM
As far as I know when registry entry HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{MY_PRODUCT_CODE}\WindowsInstaller exists and is set to "1", then "UninstallString" entry is ignored and MsiExec.exe /x{MY_PRODUCT_CODE} is used instead. Recommended way to change “Add/Remove Programs” behavior is to set ARPSYSTEMCOMPONENT property to 1 and manually create a set of custom uninstall registry values under your own uninstall key from your msi (for example HKLM \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ ).
... View more
Apr 17, 2013
03:13 AM
Superfreak3 wrote: After marking to install locallay from the Feature Selection dialog, the files are installed. I did not expect this. You made manual command to install the feature, but expected the command to be ignored? Sounds weird. Inadvertent run through the maintenance install is just clicking Next, Next, Next (IMHO). That scenario won’t install the feature.
... View more
Apr 16, 2013
07:27 AM
Windows Installer does not allow targeting 64-bit Program Files from 32-bit msi packages. It’s possible to install to both Program Files and Program Files(x86) from 64-bit msi package. But 64-bit msi can’t be used to install on 32-bit OSes. So you might need to build two msi packages – 32 and 64 bit.
... View more
Apr 15, 2013
10:02 AM
When we faced this issue the only way we found suitable for us – launch executable from dll custom action. So de-elavation happens in dll code. Actual trick was written not by me, so I don’t know much. Main idea was to get Shell object and use its ShellExecute method. As I understand it, we launch not from out setup.exe as parent process, but from explorer which is in most cases de-elevated.
... View more
Apr 15, 2013
09:06 AM
Go to Installation Designer, Behavior and Logic -> Property Manager. Note what value INSTALLLEVEL property has (usually it’s 100). We will need to know that value later. Go to Installation Designer, Organization -> Setup Design. Make sure that: 1) “Required” setting of both features is set to “No”. 2) “Install Level” of both features is higher than INSTALLLEVEL property (for example 200). 3) Condition for 32-bit feature sets Level to 1 (or any other value lower than INSTALLLEVEL) upon condition “Not VersionNT64”. 4) Condition for 64-bit feature sets Level to 1 upon condition “VersionNT64”. 5) 32-bit and 64-bit Components belong to (and only to) corresponding features. All said is for Basic MSI project type.
... View more
Apr 15, 2013
08:29 AM
There is no need to list already installed features in modify mode. You should get something like: Event __________ Argument _______________ Condition AddLocal ________ FeatureToBeAddedName1 __ CorrespondingPropertyFromSystemSearch1 And (_IsMaintenance = "Change") AddLocal ________ FeatureToBeAddedName2 __ CorrespondingPropertyFromSystemSearch2 And (_IsMaintenance = "Change")
... View more
Apr 15, 2013
07:55 AM
One of my projects is similar to the one that you described. By default features which were not installed by fresh install are deselected, but they can be set to Install state on CustomSetup dialog and Modify mode actually works for me (installs new features). If you want feature state to be changed without manual actions on CustomSetup dialog, you can use “AddLocal” event on (for example) Next button of MaintenanceType dialog when modify option is chosen and System Search has found third party app. BTW, I’m talking about basic MSI project.
... View more
Apr 15, 2013
06:59 AM
First that came to my mind – check if in your project IS_SQLSERVER_SERVER property is listed in SecureCustomProperties. It should be. That will ensure that value set in UI sequence will be transferred to execute sequence too. Also I would search msi log to find out when IS_SQLSERVER_SERVER property changes its value. Usually it helps to understand why.
... View more
Apr 03, 2013
08:40 AM
I would try going to “Files and Folders” view, right click on “Destination Computer”, and in “Show Predefined Folders” menu choose [ProgramFiles64Folder].
... View more
Jan 24, 2013
09:22 AM
To avoid such issue I added custom action that checks if user is admin and if not sets special property (let’s call it USER_NON_ADMIN). Then I added Error Custom Action with condition USER_NON_ADMIN which asks user to log on as an administrator and retry the installation.
... View more
Jan 24, 2013
08:51 AM
Same problem is being discussed in this topic: http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/09f72e05-f43f-4e7e-81b6-f81c1b60dc6c For me next entry was useful: It appears that repro machines that have a desktop.ini with read-only attribute set on it results in the message on uninstall appearing. If the read-only attribute is removed the message wont appear. For a per-machine installed package the desktop.ini of interest would be located here: :\Users\Public\Public Desktop\. I added Custom Action that removes read-only attribute from public desktop.ini before uninstallation. I'm not sure if it's the best solution, but it works.
... View more
Oct 26, 2012
03:15 AM
Forgot to specify – my experience was with Basic MSI projects which are stored as XML.
... View more
Oct 25, 2012
10:06 AM
What you want is doable. The only trouble I had – TFS Auto Merge “spoils” ISString table in the ism. To avoid this I always choose to Merge Changes In Merge Tool (tick “Navigate conflicts only”, in most cases there is no conflicts).
... View more
Oct 25, 2012
09:42 AM
As possible solution to problem with services – add property MSIRESTARTMANAGERCONTROL with value Disable to your project. Or: http://buildmaestro.wordpress.com/2011/03/14/suppress-filesinuse-dialog-on-uninstall/
... View more
Oct 08, 2012
08:15 AM
The only thing I can think of: check Directory table in the Direct Editor – is there any difference between BIN1 and FIXSTORE folders in Directory_Parent column?
... View more
Latest posts by ElenaN
Subject | Views | Posted |
---|---|---|
833 | Jul 15, 2013 10:15 AM | |
1421 | Apr 17, 2013 03:13 AM | |
907 | Apr 16, 2013 07:27 AM | |
1112 | Apr 15, 2013 10:02 AM | |
907 | Apr 15, 2013 09:06 AM | |
1421 | Apr 15, 2013 08:29 AM | |
1421 | Apr 15, 2013 07:55 AM | |
521 | Apr 15, 2013 06:59 AM | |
1005 | Apr 03, 2013 08:40 AM | |
596 | Jan 24, 2013 09:22 AM |
Activity Feed
- Posted Re: Uninstalling from control panel is in SILENT mode on InstallShield Forum. Jul 15, 2013 10:15 AM
- Posted Re: Reevaluate Feature Condition(s)? on InstallShield Forum. Apr 17, 2013 03:13 AM
- Posted Re: 32 bit and 64 bit in a single installer on InstallShield Forum. Apr 16, 2013 07:27 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Apr 15, 2013 10:02 AM
- Posted Re: 32 bit and 64 bit in a single installer on InstallShield Forum. Apr 15, 2013 09:06 AM
- Posted Re: Reevaluate Feature Condition(s)? on InstallShield Forum. Apr 15, 2013 08:29 AM
- Posted Re: Reevaluate Feature Condition(s)? on InstallShield Forum. Apr 15, 2013 07:55 AM
- Posted Re: installer always connect to default instance which set in installshield on InstallShield Forum. Apr 15, 2013 06:59 AM
- Posted Re: Reading the 64 Bit Software Key From a 32 Bit Installer... on InstallShield Forum. Apr 03, 2013 08:40 AM
- Posted Re: Installation does not abort when UAC is off on InstallShield Forum. Jan 24, 2013 09:22 AM
- Posted Re: Warning 1910 with latest NVIDIA drivers! on InstallShield Forum. Jan 24, 2013 08:51 AM
- Posted Re: Managing multiple developers on InstallShield project via TFS on InstallShield Forum. Oct 26, 2012 03:15 AM
- Posted Re: Managing multiple developers on InstallShield project via TFS on InstallShield Forum. Oct 25, 2012 10:06 AM
- Posted Re: Stranger errors on InstallShield Forum. Oct 25, 2012 09:42 AM
- Posted Re: Files going into wrong folder when destination folder changed on InstallShield Forum. Oct 08, 2012 08:15 AM
- Posted Re: preloading custom install-time dialog on InstallShield Forum. Oct 05, 2012 04:16 AM
- Posted Re: preloading custom install-time dialog on InstallShield Forum. Oct 04, 2012 04:25 AM
- Posted Re: Installshield being displayed at the bottom of all new dialogs on InstallShield Forum. Oct 04, 2012 04:03 AM
- Posted Re: Getting error 1027 after migrating to InstallShield 2012 on InstallShield Forum. Oct 02, 2012 05:37 AM
- Posted Re: Deferred Custom Action execution condition evaluated twice on InstallShield Forum. Sep 21, 2012 09:58 AM