Dec 27, 2022
04:18 AM
Within PreRequisite Editor, I have marked the option for user to optionally skip the installation in a prerequisite. Now, when the installation runs, there's a dialog box that says "[ProductName] optionally uses PreRequisite. Would you like to install it now?". I want to uninstall any other version of that prerequisite if user has selected Yes,else I do not want to uninstall the other version. How do I know if the user has selected Yes/No in the pre-requisite option dialog box? P.S. : I have to perform some other options if user selected the pre-requisite for installation, so I need to know the user's response.
... View more
Labels
- Labels:
-
InstallShield 2021
-
InstallShield 2022
Dec 19, 2022
03:11 PM
I have an installscript to run a batch file as shown below. I call the script using custom actions after defining the install UI sequence and Install Exec Sequence. But the script is being called twice during the whole installation process, i.e., once before the install welcome screen(not as per my requirement) and another at the expected sequence whatever is defined in the Install Exec Sequence. Now if I remove it from UI sequence, it gives an error of Directory Manager not initialised, and If I remove it from Exec Sequence, the script is called before the welcome screen which is not wanted. I have also tried exploring the options in Execute Scheduling along with UI sequence and Exec Sequence(keeping/ removing from sequence) but none of them works fine. I don't understand why the function in the script is being called in the sequence which is never defined to it.
... View more
Labels
- Labels:
-
InstallShield 2021
-
InstallShield 2022
Dec 06, 2022
12:27 AM
I am trying to build an installer using InstallShield 2021. My installer has some prerequisites that need to installed optionally (i.e.: user can select whether he wants to install or skip installation) Now, I know that Prerequisite Editor provides for ' The prerequisite may be optionally skipped by the user' setting in the Behavior tab, but this displays a dialog box during actual installation(just before the prerequisite is supposed to be installed).I don't want this from a UI perspective. Is there a way in InstallShield to take user's selection input in a GUI element(like checkbox) and save that response in a property, and access that property in Prerequisite Editor to check whether the prerequisite needs to be installed or not? P.S.: I know how we can save user's response in a property. It is the accessing the property in Prerequisite Editor part that I am unable to figure out.
... View more
Labels
- Labels:
-
InstallShield 2021
-
InstallShield 2022
Nov 28, 2022
04:42 AM
I am trying to build an installer using InstallShield 2021. My installer has Erlang as a setup prerequisite.
If Erlang is already installed on target system, I want to detect the version of Erlang installed and match that to my setup prerequisite's version.
This version detection needs to happen in System Search wizard of InstallShield (so that I know Erlang's version before my installer actually executes)
I have tried the following methods:
1.Registry Entries: I could not find any registry value that could give me Erlang version (I was able to find the erlang's home directory in registry entries, which also contained the version. Is there some way I can take a substring using InstallScript perhaps?)
2.INI File values: Install.ini is a file present in Erlang that gives has Erlang's and ERTS' version written in it.(Here, Erlang installed version is 24 and ERTS version is 12.1). InstallShield allows to read INI files and store the values, but the INI files should be placed in [WindowsFolder] (that is: C:\Windows\ ).Install.ini is placed in Erlang's home directory. How can I make InstallShield look at Erlang's home directory and then read Install.ini?
3.Searching files and folders: I looked for Install.ini and was able to get it's root location which also contained the version. Is there some way I can take a substring using InstallScript perhaps?
... View more
Labels
- Labels:
-
InstallShield 2021
-
InstallShield 2022
Latest posts by ananyas
Subject | Views | Posted |
---|---|---|
187 | Dec 27, 2022 04:18 AM | |
161 | Dec 19, 2022 03:11 PM | |
162 | Dec 06, 2022 12:27 AM | |
198 | Nov 28, 2022 04:42 AM |
Activity Feed
- Posted Get User Selection Response From PreRequisite Optional on InstallShield Forum. Dec 27, 2022 04:18 AM
- Posted Custom Action running twice/out of sequence on InstallShield Forum. Dec 19, 2022 03:11 PM
- Posted Make Prerequisite User Selectable through GUI (eg: checkboxes) on InstallShield Forum. Dec 06, 2022 12:27 AM
- Posted Detect Erlang Version In InstallShield 2021/2022 on InstallShield Forum. Nov 28, 2022 04:42 AM