Apr 06, 2022
06:58 AM
If I didn't change the version, either one would result in the same behavior. If I changed the version, it would reinstall, but the error would recur. There was something wrong in my sequence of install steps- when I manually made mine match the default, the problem went away.
... View more
Mar 14, 2022
10:26 AM
I had some trouble with this. It depends on what version of .NET. Sometime between .NET 5.0.3 and 5.0.14 they switched how they do this from tracking each individual install of .NET via an uninstall GUID to using HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost to track the currently installed version- if you look there, you should find the current version you have installed. Hope this helps!
... View more
Mar 08, 2022
03:55 PM
You could manually delete them, via the DeleteShortcut command in install script. See https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/installshield22langref.htm#CSHID=helplibrary%2FCreateShortcutEx1.htm|StartTopic=helplibrary%2FCreateShortcutEx1.htm and https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/installshield22langref.htm#CSHID=helplibrary%2FCreateShortcutEx1.htm|StartTopic=helplibrary%2FCreateShortcutEx1.htm. Hope this helps!
... View more
Mar 08, 2022
11:44 AM
I can install my latest version of the application and everything works fine. However, if I use run the same installer again, rather than giving me the maintenance options (Repair/Modify/Remove) I get the above error, the full text of which reads: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. I can run the uninstall from the Add or Remove programs without incident, but I don't want my users getting this message if they need to fix the installation. I have some custom scripts but otherwise my install sequence is unmodified. When I try to run the verbose logging command, it launches the installer and the error occurs, but no log file is created. That command is foo.exe /verbose".\LogFile.log" Bumping the revision changes nothing. It will upgrade the first time it's run, but then it displays the same error.
... View more
Labels
- Labels:
-
InstallShield 2021
Mar 08, 2022
11:43 AM
This had to do with my own launch sequence being in error. I reverted to the original sequence with exceptions for my custom code and the upgrades now work fine.
... View more
Mar 07, 2022
08:59 AM
What could cause this? Right now if my users don't have admin privileges to install in the Program Files directory they must uninstall to upgrade to the latest version, which is obviously undesirable. The updates work as intended when installed to the Program Files directory.
... View more
Labels
- Labels:
-
InstallShield 2021
Feb 28, 2022
12:33 PM
OK, but I'm going to need some help with Step 1. I can create a dialog (CustomShortcut) and populate it with controls. How do I insert it where I want it in the install sequence? I want it to be after CustomSetup and before ReadyToInstall. It seems the only place I can insert it is in SetupInitialization using the wizard. When I look at the documentation, it says I can simply drag and drop, but that only seems to work at the root level of the tree- ie., I can drag SetupInitialization around, but not CustomShortcut, which is no good- I need SetupInitialization where it is, but I don't want the CustomShortcut to fire immediately after. Thanks!
... View more
Feb 25, 2022
08:24 AM
Answered my own question. Just for completeness, I'll finish my question/guide, in the hopes it will help someone here. The location of the key changed sometime between 5.0.3 and 5.0.14- it no longer looks for a GUID. Now it looks for the version number in HKEY_LOCAL_MACHINE\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost\Version
... View more
Feb 25, 2022
07:36 AM
I've figured out how to update a prerequisite, and it seems to work when I'm working with the the latest .NET 5 Asp.NET Hosting Bundle, and I'll describe the steps I took for it here. Then I'll show where those steps seem to fail when I try to do the same thing with the same version of the .NET Desktop Runtime. So the steps which I can verify work are as follows. I create a new prerequisite in the prerequisite editor, copying the installer I'm updating. I download and install manually the package I'm working on. I grab the manual download link, and put it in Files To Include, replacing the existing URL. I do the same with the installer, putting it in the appropriate directory and pointing InstallShield to it. In Application to Run, I set the application to be the one I just pointed to. Having already installed the package in step 2, I inspect the registry, under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ and manually inspect the directories there to find the GUID used to install the package. I change the "Registry Key Exists" condition to point to the GUID found in the registry. I create a new GUID and replace the one in Properties with it. I strip out the Alternate Location for the PRQ file under the Properties tab. I build and run my installer (a Basic MSI project with a single executable) and the prerequisite installs properly. This works with the Hosting Bundle, but fails at step 6 with the Desktop Runtime. Is there somewhere else I need to look for the registry GUID?
... View more
Labels
- Labels:
-
InstallShield 2021
Feb 18, 2022
01:49 PM
Thank you, but that's not what I'm looking for. Latest and Greatest may have been misleading. I was hoping I'd be able to make my own, but I'm OK with asking for them here if that's an option. I would like the latest versions of .NET 5 Desktop Runtime, the .NET Core Runtime 5, and the latest version of ASP.NET Core Runtime 5.
... View more
Feb 17, 2022
11:52 AM
I'm using a basic MSI, set to a single executable. Manually means renaming setup.exe every time I do a new build. I'm looking for a setting I can change so that the program outputs the desired file name every time I build.
... View more
Feb 17, 2022
10:53 AM
Is there a way to rename Setup.exe other than manually?
... View more
Labels
- Labels:
-
InstallShield 2021
Feb 14, 2022
04:00 PM
Is there a way to prompt the user to create shortcuts on the desktop/start menu? I can do it automatically, but I'd like the user to choose.
... View more
Labels
- Labels:
-
InstallShield 2021
Feb 10, 2022
01:01 PM
Is there a way to update the redistributables? For instance, the .NET ASP Core version available by default in my version of InstallShield is 5.0.3, but the latest version is up to 5.0.14. I'd like to install the latest and greatest on my users' computers.
... View more
Labels
- Labels:
-
InstallShield 2021
Latest posts by isherman
Subject | Views | Posted |
---|---|---|
307 | Apr 06, 2022 06:58 AM | |
354 | Mar 14, 2022 10:26 AM | |
288 | Mar 08, 2022 03:55 PM | |
394 | Mar 08, 2022 11:44 AM | |
242 | Mar 08, 2022 11:43 AM | |
251 | Mar 07, 2022 08:59 AM | |
310 | Feb 28, 2022 12:33 PM | |
1078 | Feb 25, 2022 08:24 AM | |
1081 | Feb 25, 2022 07:36 AM | |
337 | Feb 18, 2022 01:49 PM |
Activity Feed
- Kudoed Allow upgrades and downgrades at will for swrightjet. Jul 27, 2022 09:27 AM
- Kudoed uninstall before install for jrahma. Jul 27, 2022 09:25 AM
- Kudoed How exactly do I access the 'Overwrite Dialog Box' for wdsdev. Jul 27, 2022 09:17 AM
- Posted Re: How to alleviate "Another version of this product is already installed..." error on InstallShield Forum. Apr 06, 2022 06:58 AM
- Posted Re: Determine dotnet core version on InstallShield Forum. Mar 14, 2022 10:26 AM
- Kudoed Re: File & Shortcut won't remove after uninstall for SaraSafstrom. Mar 09, 2022 07:45 AM
- Posted Re: File & Shortcut won't remove after uninstall on InstallShield Forum. Mar 08, 2022 03:55 PM
- Posted How to alleviate "Another version of this product is already installed..." error on InstallShield Forum. Mar 08, 2022 11:44 AM
- Posted Re: Installer doesn't perform update when software is installed in custom location on InstallShield Forum. Mar 08, 2022 11:43 AM
- Posted Installer doesn't perform update when software is installed in custom location on InstallShield Forum. Mar 07, 2022 08:59 AM
- Posted Re: Prompt user to create shortcuts on InstallShield Forum. Feb 28, 2022 12:33 PM
- Kudoed Re: Prompt user to create shortcuts for Thananjeyan_M. Feb 28, 2022 12:33 PM
- Posted Re: Creating a Prerequisite for .NET Windows Desktop Runtime 5.0.14... what am I missing? on InstallShield Forum. Feb 25, 2022 08:24 AM
- Posted Creating a Prerequisite for .NET Windows Desktop Runtime 5.0.14... what am I missing? on InstallShield Forum. Feb 25, 2022 07:36 AM
- Posted Re: Updating redistributables on InstallShield Forum. Feb 18, 2022 01:49 PM
- Kudoed Re: Updating redistributables for Bikram. Feb 18, 2022 01:49 PM
- Posted Re: Rename Setup.exe on InstallShield Forum. Feb 17, 2022 12:17 PM
- Posted Re: Rename Setup.exe on InstallShield Forum. Feb 17, 2022 11:52 AM
- Posted Rename Setup.exe on InstallShield Forum. Feb 17, 2022 10:53 AM
- Kudoed renaming of "setup.exe" for jlindborg. Feb 17, 2022 10:53 AM