Dec 09, 2020
01:15 PM
I know it is possible to use MSI properties to update XML attributes, values, and content. I am wondering if it is possible to use MSI properties as part of the XPath to target specific XML elements. functionality described here: https://community.flexera.com/t5/InstallShield-Knowledge-Base/Target-XML-elements-with-specific-attributes/ta-p/4542 For example, if I want to use the XML File Change feature to find in a config file the path: /configuration/appSettings/add[@key="myKey" and @value="[MY_MSI_PROPERTY]"]
... View more
Labels
- Labels:
-
InstallShield
Jan 24, 2020
09:11 AM
I'm running into a scenario with a chained MSI package that I'm unsure how to resolve: - Install Main product version 1 that has chained Sub Component version a - Install a standalone update to Sub Component to version c - Attempt a Major Upgrade for Main product to version 2 that has a chained Sub Component version b (older version than c) The upgrade fails because it tries to run the sub component installation which says there is newer version installed. The main product treats this as a failure and stops the upgrade. Is there a way to prevent the sub component from running if there is a newer version already installed (ideally without having to manually check)? Or for the main product to consider the "new version failure" as not a failure so that it continues on?
... View more
Labels
- Labels:
-
InstallShield 2018
Jan 30, 2013
10:58 AM
Oops I should have looked more into your link before responding. It looks like that may work for us.
... View more
Jan 30, 2013
07:57 AM
Sorry if I didn't explain it quite right. I'm not trying to upgrade a 32 bit MSI to a 64 bit MSI. I currently have a 32 bit MSI that installs 32 bit components and a 32 bit driver (only installs the driver if ran on 32 bit machine). Now we have a 64 bit version of the driver. To keep it all in one package, I created separate MSI's for the 32 bit driver and 64 bit driver and then made them feature prerequisites for the original 32 bit MSI. The problem that I ran into for upgrade is that the ISInstallPrerequisites action executes before the RemoveExistingProducts which means, on a 32 bit machine, the 32 bit driver is installed during the prereq action, but then the files are removed during the RemoveExistingProducts action. So my question was is there any reason why I can't put the ISInstallPrerequisites action after the RemoveExistingProducts action? And if that isn't possible, the ultimate goal is to keep both drivers contained within one deliverable installer so if there is a better way to do that then I'm open to suggestions.
... View more
Jan 29, 2013
10:27 AM
Hello, First, let me give a little background to my situation. Currently, I have an installer (MSI) that installs a 32 bit driver when installed. Recently, we have created a 64 bit version of the driver and need to distribute that too. Obviously, the ideal situation is to update the already existing MSI installer to figure out which platform the user is installing on and deliver the appropriate driver. I know that simply adding it to the installer doesn't work due to Difxapp and so I've tried a couple different avenues. I tried creating a merge module for each driver and associating each to a different feature but installshield apparently didn't like that either. So now what I've done is create an installer for each driver package and make them feature prerequisites in the main MSI installer. This seemed to be going fine until I was testing the upgrade path from the previous installer. Basically, the installer is installing the feature prereq before removing the previous version (i.e. Major Upgrade) which actually completes the installation but the driver gets removed. My question is is it ok to put the ISInstallPrerequisites into the Execute action after the RemoveExistingProducts action? Or is there a better solution? I'm open to other solutions for the initial problem but everything that I have seen so far haven't seemed to be very elegant solutions. Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Nov 29, 2012
02:38 PM
So the major upgrade has no way of getting access to the previous version's properties? I was going to resort to a system search for INSTALLDIR but I was hoping there was already a defined way to get to those properties, similar to how you have access to the properties in a "modify" scenario.
... View more
Nov 29, 2012
12:53 PM
Hello, I am having an issue that I'm guessing I'm just missing something really simple. I have a basic MSI project and a current release out in the field. We are developing a Major Upgrade for our next release. The problem I am running into is that there are properties set during install of the previous release, that I want the Major Upgrade to pre-populate with. For example, if the user chose a different INSTALLDIR than the default, during the Major Upgrade install, the INSTALLDIR property should be set with the custom value. This seems like a common thing someone would want but I just can't find the mechanism to do it. Any help would be great. Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Mar 07, 2012
10:50 AM
I am having an issue with our installer that I can't seem to figure out. After installation, if a user removed all permissions from a file that was installed (Don't ask me why they would just bare with me) and then they try and uninstall the software. I would expect they get and error stating the installer couldn't remove the file but what actually happens is the installer says it completed successfully and the file remains on the system. I checked the log created after uninstallation and there is an "Info 1321" line (not an Error 1321 which is what I would expect) stating there isn't enough privileges to modify the file. Is there a way I can elevate the warning to an error or anything like that?
... View more
Labels
- Labels:
-
InstallShield 2010
Latest posts by brandon081518
Subject | Views | Posted |
---|---|---|
270 | Dec 09, 2020 01:15 PM | |
411 | Jan 24, 2020 09:11 AM | |
1138 | Jan 30, 2013 10:58 AM | |
1138 | Jan 30, 2013 07:57 AM | |
2848 | Jan 29, 2013 10:27 AM | |
1047 | Nov 29, 2012 02:38 PM | |
2792 | Nov 29, 2012 12:53 PM | |
1301 | Mar 07, 2012 10:50 AM |
Activity Feed
- Posted MSI Properties in XML File Change Search on InstallShield Forum. Dec 09, 2020 01:15 PM
- Posted Chained MSI Upgrade issue on InstallShield Forum. Jan 24, 2020 09:11 AM
- Posted Re: Problems with 32 and 64 bit driver install on InstallShield Forum. Jan 30, 2013 10:58 AM
- Posted Re: Problems with 32 and 64 bit driver install on InstallShield Forum. Jan 30, 2013 07:57 AM
- Posted Problems with 32 and 64 bit driver install on InstallShield Forum. Jan 29, 2013 10:27 AM
- Posted Re: Public Properties and Major Upgrade on InstallShield Forum. Nov 29, 2012 02:38 PM
- Posted Public Properties and Major Upgrade on InstallShield Forum. Nov 29, 2012 12:53 PM
- Posted Uninstall Issues on InstallShield Forum. Mar 07, 2012 10:50 AM