This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
agshah
Level 7
- Revenera Community
- :
- About agshah
Apr 26, 2024
05:49 PM
Hi, I have IS 2023, Basic MSI as well as InstallScript MSI projects. How can I set or modify ACLs on the INSTALLDIR ? For example, if user wants to install at c:\myhome, I want to be able to set ACLs so that for example, only administrator group can modify/change in that folder but Authenticated Users can only read. thanks in advance.
... View more
Labels
- Labels:
-
InstallShield
Feb 06, 2024
06:46 PM
Hi All, I have IS 2022 R1, Basic MSI project and want to be able to detect if automatic major upgrade is happening when the existing version is getting uninstalled. For example, I install Version 1.0. I prepared Version 2.0 to support Automatic Major Upgrade. I install Version 2.0. I have InstallScript function that gets invoked when Version 1.0 is UnInstalled. I also have InstallScript function that gets invoked when Version 2.0 is getting Installed. I use below code in both above scenarios to tell me if automatic upgrade is happening. MsiGetProperty(ISMSI_HANDLE, "IS_MAJOR_UPGRADE", svIsMajorUpgrade, nBufferSize); When Version 2.0 is getting installed, above code detects automatic upgrade is happening and hence I am able to perform certain tasks. But during the upgrade, when Version 1.0 is getting UnInstalled, the above code is not able to detect that this is an upgrade. I need to perform certain tasks at uninstall time when Version 1.0 is uninstalled during the automatic upgrade. How can I achieve this.
... View more
Labels
- Labels:
-
InstallShield 2022
Dec 11, 2023
06:02 PM
Hi all,
appreciate any help with this. I need to use INSTALLDIR value at uninstall time from the install script code.
... View more
Dec 08, 2023
05:30 PM
Hi,
I have a Basic MSI project. I have a custom action that invokes a function in installscript code in setup.rul.
But INSTALLDIR value is not available.
e.g. I tried a simple message box as below and the value is an empty string.
MessageBox("INSTALLDIR location: " + INSTALLDIR, INFORMATION);
Appreciate anyhelp.
... View more
Labels
- Labels:
-
InstallShield 2022
Dec 04, 2023
05:47 PM
Hi all,
appreciate your input on this...
... View more
Dec 01, 2023
05:48 PM
Hi,
I have InstallShield 2022 - InstallScript MSI project.
I used the Shortcuts view and created a shortcut folder under Start Menu.
But I want this shortcut folder to take the value at runtime based on the command line argument specified by the user.
e.g. if user executes below command line, START_MENU property will be set and I want the shortcut folder to take this value. How to do that?
Setup.exe /v"START_MENU=\"MY - Product\""
... View more
Labels
- Labels:
-
InstallShield 2022
Dec 01, 2023
03:59 PM
Hi all,
I have an InstallShield 2022 - InstallScript MSI project that build a setup.exe.
How to pass command line arguments to setup.exe so I can use it in the InstallScript?
e.g. how I want to execute something like below from command line:
setup.exe username=yourUserName password=yourPassword
... View more
Labels
- Labels:
-
InstallShield 2022
Jul 19, 2023
07:15 PM
thanks for the info. I will try to get InstallShield 2023 R1.
in the meantime I have InstallShield 2022 R1 and it has created the InstallScript MSI project. I used VS2022 IDE to open this project and it shows an hourglass briefly as if it is loading it but fails to load. Project does not open. Any idea? As per the info you have provided this should have worked, correct ?
... View more
Jul 19, 2023
04:23 PM
thanks for the info.
I tried to install "InstallShield2022R1_Standalone_Build_setup.exe" on Windows 11 Pro and Windows Server 2022 Standard. On both machines, the installer comes up and I can see the progress of the installation. However, then the GUI disappears without any confirmation that product is installed.
I don't see if in the 'Programs and Features' in the control panel. I also don't see any folder like "C:\Program Files (x86)\InstallShield\2022 SAB".
Any idea how to successfully install it?
... View more
Jul 19, 2023
04:06 PM
Hi Varul,
thanks for your response.
It seems SAB still needs to be installed (maybe by running a setup.exe or msi file) on machines where I need to build our IS project.
I was hoping if there is anything like a file copy where I can push some InstallShield files over to the machines and then be able to build from command line. Is that possible ?
... View more
Jul 19, 2023
03:57 PM
Hi Varul,
thanks for the links. Can you please confirm if my below understanding is correct based on the info in the links you have provided?
My project is an InstallScript MSI project in InstallShield 2021. In order to build it in VS2022 I need to upgrade this project to InstallShield 2023 R1 project. Is this correct?
... View more
Jul 18, 2023
03:46 PM
1 Kudo
Hi,
I have a InstallShield 2021 Premier InstallScript MSI project and I can build it from command line using IsCmdBld.exe.
Is there a way to build this from command line without fully installing InstallShield ?
I tried building with just IsCmdBld.exe on a machine where there is no InstallShield installed. But it does not work.
what is the minimal required to build this project from command line without a full InstallShield installation ?
thanks,
... View more
Labels
- Labels:
-
InstallShield 2021
Jul 18, 2023
03:41 PM
1 Kudo
Hi all,
I have an InstallScript MSI project created in InstallShield 2021 Premier.
I tried to open this project in Visual Studio 2022 but it fails to open. No error given.
Is it possible to build this project in Visual Studio, from command line, somehow ?
thanks.
... View more
Labels
- Labels:
-
InstallShield 2021
Mar 09, 2023
06:54 PM
Hi, I was able to take below approach and seems to work. Would you please advise if this is acceptable?
Instead of including the common files (that have same name and location) in Feature A and B, I created a Feature C which includes these files. Feature C is not visible to the user but is a required Feature for Feature A and B. This seems to work, common files are getting installed and removed appropriately.
Appreciate your input.
... View more
Mar 08, 2023
03:14 PM
Hi, Yes, the common files are installed at the same directory. Thanks for the link.
So any idea how to go about this? Appreciate any recommendations.
... View more
Latest posts by agshah
Subject | Views | Posted |
---|---|---|
135 | Apr 26, 2024 05:49 PM | |
191 | Feb 06, 2024 06:46 PM | |
354 | Dec 11, 2023 06:02 PM | |
391 | Dec 08, 2023 05:30 PM | |
288 | Dec 04, 2023 05:47 PM | |
322 | Dec 01, 2023 05:48 PM | |
340 | Dec 01, 2023 03:59 PM | |
474 | Jul 19, 2023 07:15 PM | |
1426 | Jul 19, 2023 04:23 PM | |
1429 | Jul 19, 2023 04:06 PM |
Activity Feed
- Posted Setting ACLs on INSTALLDIR on InstallShield Forum. Apr 26, 2024 05:49 PM
- Posted Automatic Major Upgrade detection question on InstallShield Forum. Feb 06, 2024 06:46 PM
- Posted Re: INSTALLDIR not available at uninstall time in InstallScript on InstallShield Forum. Dec 11, 2023 06:02 PM
- Posted INSTALLDIR not available at uninstall time in InstallScript on InstallShield Forum. Dec 08, 2023 05:30 PM
- Posted Re: How to set the shortcut folder name based on a property value at runtime on InstallShield Forum. Dec 04, 2023 05:47 PM
- Posted How to set the shortcut folder name based on a property value at runtime on InstallShield Forum. Dec 01, 2023 05:48 PM
- Posted How to pass command line arguments to setup.exe on InstallShield Forum. Dec 01, 2023 03:59 PM
- Posted Re: Building InstallShield Premier 2021 created project in Visual Studio on InstallShield Forum. Jul 19, 2023 07:15 PM
- Posted Re: Building InstallShield project from command line without fully installing InstallShield on InstallShield Forum. Jul 19, 2023 04:23 PM
- Posted Re: Building InstallShield project from command line without fully installing InstallShield on InstallShield Forum. Jul 19, 2023 04:06 PM
- Posted Re: Building InstallShield Premier 2021 created project in Visual Studio on InstallShield Forum. Jul 19, 2023 03:57 PM
- Got a Kudo for Building InstallShield project from command line without fully installing InstallShield. Jul 19, 2023 07:14 AM
- Got a Kudo for Building InstallShield Premier 2021 created project in Visual Studio. Jul 19, 2023 07:14 AM
- Posted Building InstallShield project from command line without fully installing InstallShield on InstallShield Forum. Jul 18, 2023 03:46 PM
- Posted Building InstallShield Premier 2021 created project in Visual Studio on InstallShield Forum. Jul 18, 2023 03:41 PM
- Posted Re: How to share files between Features in InstallShield MSI InstallScript project? on InstallShield Forum. Mar 09, 2023 06:54 PM
- Posted Re: How to share files between Features in InstallShield MSI InstallScript project? on InstallShield Forum. Mar 08, 2023 03:14 PM
- Posted How to share files between Features in InstallShield MSI InstallScript project? on InstallShield Forum. Mar 07, 2023 06:04 PM
- Posted Re: Built-in InstallShield string translations on InstallShield Forum. Mar 01, 2023 03:40 PM
- Posted Re: Built-in InstallShield string translations on InstallShield Forum. Feb 15, 2023 03:27 PM