Nov 16, 2016
02:36 PM
We have a script that runs to do the build. We maintain the InstallShield in XML format and use {11111111-1111-1111-1111-111111111111} and {22222222-2222-2222-2222-22222222222} for the Product Code and Package Code. As part of the packaging step, we replace the Product Code and the Package Code using a piece of code that generates GUIDs and sed before running InstallShield to generate the installer. We also use the the same technique to update the version number. Anywhere the version number is stored in the .ISM file, we just use "99.99.99", and then we can automatically change it. We come out with new versions pretty regularly, but the components haven't changed in many years. This way, we don't have to make any changes to the InstallShield project for new versions.
... View more
Nov 15, 2016
12:09 PM
Yup, I was missing something obvious. If you go into "Organization" and click on "Components", and open up each component to see the individual files, you can right click on each file and select the option, "Always Overwrite". The InstallShield user interface is pretty good for discoverability, but there have been a number of times I have been unable to find something because I wasn't right-clicking on. Anyhow, problem solved.
... View more
Nov 15, 2016
08:56 AM
So I tried adding a "minor update" and pointed it to an older version of the installer (which is a really odd thing to have to do, IMO). However the same thing happens with the install after this... the package installs just fine, but it doesn't actually update anything. The old version of the binary remains in "\Program Files". It seems that the only way to make this work is to bump the version number, which really messes things up because these are subsequent builds of the same version. It would be confusing to testers as to which version they are running. How hard can it be to just have the installer replace the stuff that's already installed? I must be missing something obvious.
... View more
Nov 10, 2016
11:11 AM
Here's my dilemma. It was just reported that the installer for the daily build of the Windows client of our product doesn't actually update the binaries if a previous build was installed. The reason this wasn't discovered for so long is that all the testers just knew that you had to uninstall first and then reinstall. It hadn't occurred to me to test this because a.) No one had ever complained about the installer, and b.) I don't normally install the app, I build it from source. Regardless, the installer really should just update the binaries regardless, and I wish to make it work that way. However, I don't know how to do it. A major upgrade requires the version number to be changed, but the version number is set for the actual release of the product: in our case it's "3.5.1.1". A minor version and an automatic upgrade require that I point the InstallShield project at the previous version of the the installer in order for it to figure out what do. This doesn't work in an automated build system where multiple versions and multiple branches of the product are being built in succession. Also, the installer needs to be able to upgrade from any previous build of the same version. Upgrading different versions isn't an issue because each version of our application gets installed in its own directory since we support having multiple versions installed at the same time. Previously, we had always changed the Upgrade Code, Product Code and Package Code for every build. The InstallShield project is stored in Git in XML format, and we run sed on it before building to replace the version number and GUIDs before building the installer. This had been done many years ago, and I didn't change it because it seemed to do the right thing. Apparently it _did_ work fine with InstallShield 2008, which is what we had previously used. I recently took over responsibility for the installation scripts and we upgraded to InstallShield 2015 a few months ago, and now discovered this problem when one of the documentation persons reported it. So how can I create an installer that will automatically upgrade over any previous installation with the same version number? Yes, this means even if you have a later build already installed, the installer will just overwrite it. That's OK. I just need to be able to ensure when you run the setup.exe, you get the version of the app that it contains, period. Thanks for your help, Rick
... View more
Labels
- Labels:
-
InstallShield 2015
Oct 06, 2016
03:09 PM
Hysteresis wrote: Assuming you've already added your customised VC++ 2015 redistributable into your IS project then its a simple matter of ensuring your release is configured to have a "Setup Launcher" with the "InstallShield Prerequisites Location" option set to "Extract from Setup.exe". Refer to the "Setup.exe" tab of the "Media\Releases" option in the IDE to do this. Thanks. I was able to make it work. I had looked for the setting to bundle the prerequisite with the installer, but could not find it... because I had missed the "Media/Releases" options.
... View more
Sep 08, 2016
03:30 PM
Hysteresis wrote: Refer to the "Setup.exe" tab of the "Media\Releases" option in the IDE to do this. I scoured the InstallShield UI, but did not find this option. That answers all my questions! Thanks for your help!
... View more
Sep 08, 2016
03:28 PM
Hysteresis wrote: Agreed. We had to create our own UCRT redistributables to handle this for all OS's. Note the UCRT itself has its own dependencies! My experience has been that without the VC++ Redistributable, the app complained about one of the UCRT DLLs being missing. With the Redistributable installed, it worked fine. This was on a vanilla Windows 7 install, so it is my understanding that the VC++ 2015 Update 3 Redistributable includes the UCRT stuff.
... View more
Sep 06, 2016
04:26 PM
Please note that the file size and MD5 sum listed in the PRQ file above are incorrect. I figured this out today and corrected the situation by deleting the file from the PRQ and adding it back, at which point InstallShield updated the file size and MD5 sum. InstallShield did not automatically detect when I changed the file.
... View more
Sep 06, 2016
09:51 AM
For the installer I'm creating, I have a requirement that we cannot rely on the fact that there's an Internet connection. However, the software needs the Visual C++ 2015 Update 3 Redistributable. I've modified the Prerequisite file to use the latest version of vc_redist.x86.exe (I don't understand why InstallShield can't figure this out for me), but I do not understand if, and how, I can tell InstallShield to bundle the vc_redist.x86.exe so it does not need to be downloaded. We currently provide the vc_redist.x86.ewe file separately, but management is insisting that the installer should be able to figure out if the redistributable is needed, and install it automatically, which I think is a reasonable request. Furthermore, since this application is a front-end for a satellite communication network management system that is often installed in remote locations, we cannot assume there is already an Internet connection available, therefore the vc_redist.x86.exe should be bundled in the installer. Can this be done? This is the contents of my .prq file:
... View more
Labels
- Labels:
-
InstallShield 2015
Latest posts by RickGutleber
Subject | Views | Posted |
---|---|---|
571 | Nov 16, 2016 02:36 PM | |
815 | Nov 15, 2016 12:09 PM | |
815 | Nov 15, 2016 08:56 AM | |
1610 | Nov 10, 2016 11:11 AM | |
1593 | Oct 06, 2016 03:09 PM | |
1593 | Sep 08, 2016 03:30 PM | |
1593 | Sep 08, 2016 03:28 PM | |
1593 | Sep 06, 2016 04:26 PM | |
4355 | Sep 06, 2016 09:51 AM |
Activity Feed
- Posted Re: How do I automate changing Product Code on InstallShield Forum. Nov 16, 2016 02:36 PM
- Posted Re: Creating an installer for an automatic daily build on InstallShield Forum. Nov 15, 2016 12:09 PM
- Posted Re: Creating an installer for an automatic daily build on InstallShield Forum. Nov 15, 2016 08:56 AM
- Posted Creating an installer for an automatic daily build on InstallShield Forum. Nov 10, 2016 11:11 AM
- Posted Re: Visual C++ 2015 Redistributable - Can I bundle it with the setup.exe? on InstallShield Forum. Oct 06, 2016 03:09 PM
- Posted Re: Visual C++ 2015 Redistributable - Can I bundle it with the setup.exe? on InstallShield Forum. Sep 08, 2016 03:30 PM
- Posted Re: Visual C++ 2015 Redistributable - Can I bundle it with the setup.exe? on InstallShield Forum. Sep 08, 2016 03:28 PM
- Posted Updates to the .PRQ file on InstallShield Forum. Sep 06, 2016 04:26 PM
- Posted Visual C++ 2015 Redistributable - Can I bundle it with the setup.exe? on InstallShield Forum. Sep 06, 2016 09:51 AM