Jun 08, 2022
08:28 PM
Hi @Revenera_Ian, thank you for your reply.
I have a case open with InstallShield now. In the meantime, I have realized why an AdvancedUI project cannot detect available disk space. It is because the AdvancedUI installer is a shell that allows us to execute multiple installers. These can have multiple target directories and other requirements.
Therefore, I have spent today creating InstallScript code that allows me to validate the available disk space, validate if there is enough disk space, select an alternate drive for the AdvancedUI cache directory, and modify any target directories.
Once this project is done, I plan on writing a white paper on this process and hopefully generalize the process for public consumption.
... View more
Jun 07, 2022
03:14 PM
I have been using InstallShield for a very long time and using the AdvancedUI since 2012. However, just today I discovered something I missed - it appears that the installer does not validate if the target system has enough disk space for the feature cost. I am using Suite/AdvancedUI 2021.
Do I need to create a custom action to evaluate the disk cost requirements and ensure the target system has enough disk space? I had always thought that InstallShield would include this basic expected feature from the start. I know it is complex because you have to evaluate if you are extracting files to the cache directory or if the file is running from DVD/CD media as well as determine where each package will be installed.
In our case, I have an installer where we are attempting to upgrade customers from SQL Server 2012 Express to a newer version. The install for SQL Server 2016 does not appear to do its own check for available disk space.
If I add a custom setup dialog to the setup wizard stack, the file cost is displayed correctly there, but it does not stop the user if the available disk space is lower than the required disk space.
... View more
Labels
- Labels:
-
InstallShield 2021
Oct 27, 2021
01:22 PM
Objective I need to be able to restart a system after a suite installer InstallScript custom action finishes. Background I have a requirement to do the following: Uninstall an instance of SQL Server 2012 Express (done) Create that instance using SQL Server 2016 Express (done - except when there is a PendingFileRenameOperations ) Sometimes the uninstall of SQL Server 2012 Express will create a new PendingFileRenameOperations. If this exists, then the next step to install SQL Server 2016 will fail. If the user just restarts after getting the error, then the suite installer does not call the OnResuming event - which contains a step to collect setup information that the installer writes to a config file in the OnRebooting event. This leaves the suite installer starting over and trying to access database settings and values that do not exist since the install for SQL Server 2016 did not finish. What I have so far I can correctly detect if the system requires a reboot by querying the appropriate registry keys If I just force an exit of the setup, that does not cause the installer to restart after the user has restarted the system and logged back in. I have thought about manually writing to the RunOnce registry key, but I am not certain of the syntax for this. I already check for PendingFileRenameOperations and RunOnce registry keys when starting the install and correctly ask the user to restart the computer before starting the install. However, this does not fix this current issue, where the Uninstall of SQL Server 2012 Express instance will generate a PendingFileRenameOperations . Thank you in advance.
... View more
Labels
- Labels:
-
InstallShield 2020 R2
Sep 23, 2021
01:39 PM
I am having the same problem. I was testing a new abort condition and discovered that the installer hangs after having evaluated the conditions without showing a dialog with the appropriate message. I created a new InstallSuite project and added a small MSI package for testing. I created a new Exit Condition (any message works) Condition: All, Property Comparison, PROPERTYNAME, string, equal, compare to:[~] This should always result in a condition that causes the setup to abort and display a message to the end user. When I test this install, it seems to work in my development environment. However, when I copy it to a test virtual machine, the message box will not show up and the setup is hung. I have to use Task Manager to exit the setup. When I enable logging, I can see that the setup has evaluated the condition because my message is displayed in the log file. However, it is not displayed to the end-user.
... View more
Latest posts by DLeeRI
Subject | Views | Posted |
---|---|---|
219 | Jun 08, 2022 08:28 PM | |
243 | Jun 07, 2022 03:14 PM | |
291 | Oct 27, 2021 01:22 PM | |
589 | Sep 23, 2021 01:39 PM |
Activity Feed
- Posted Re: How to validate available disk space using InstallShield Suite/AdvancedUI 2021? on InstallShield Forum. Jun 08, 2022 08:28 PM
- Kudoed Re: .NET Desktop 6.0 Prerequisite File for Bikram. Jun 08, 2022 06:01 AM
- Kudoed Re: .NET Desktop 6.0 Prerequisite File for MarkusLatz. Jun 08, 2022 06:01 AM
- Posted How to validate available disk space using InstallShield Suite/AdvancedUI 2021? on InstallShield Forum. Jun 07, 2022 03:14 PM
- Tagged How to force a restart from InstallScript Custom Action using Suite Project file on InstallShield Forum. Oct 27, 2021 01:24 PM
- Tagged How to force a restart from InstallScript Custom Action using Suite Project file on InstallShield Forum. Oct 27, 2021 01:24 PM
- Tagged How to force a restart from InstallScript Custom Action using Suite Project file on InstallShield Forum. Oct 27, 2021 01:24 PM
- Tagged How to force a restart from InstallScript Custom Action using Suite Project file on InstallShield Forum. Oct 27, 2021 01:24 PM
- Posted How to force a restart from InstallScript Custom Action using Suite Project file on InstallShield Forum. Oct 27, 2021 01:22 PM
- Posted Re: IS Suite is stuck on splash screen while executing Launch Conditions on InstallShield Forum. Sep 23, 2021 01:39 PM