I am using installshield to build a setup project. I have one InstallScript type project in which I have multiple merge module project included. In each merge module I have some custom install script logic. I noticed that this install script logic is running every time (install/uninstall/repair). I want to control these based of the action install/uninstall/repair. Is there any environment variable or flag from where I can get this value?
How to know installation action in installshield merge module type project?
1.2k views Asked by Ramesh Soni At
1
There are 1 answers
Related Questions in INSTALLSHIELD
- Windows registry dump in InstallShield prerequisite
- How to make a silent installation out of nested .exe InstallShields?
- InstallShield for Windows: Error Diasnosis
- Creating an Eclipse RCP application installer using InstallShield
- Patch executable is deleted by windows defender but the same was not deleted in earlier build patches
- How to read and update language MST file (1033.mst) which is part of MSI Package using C# windows application?
- How to update License Agreement(EULA) in MSI Package (support multiple language) using any external tool?
- Why does a non-advertised shortcut created within the startup folder, does not auto start the application upon reboot?
- Copyright details doesn't show Organization name
- Can we encrypt MSI property values so that user cannot open the MSI/MST to see the value?
- Managed Code custom action in .Net Core 6 or later
- Upgrade without UpgradeCode with MSI
- Cannot sign swidtag file with DigiCert Cloud HSM private key
- How to set Required Execution Level to Administrator for Basic MSI project type with MSI file
- How to match a pattern with VbScript regex in InstallShield?
Related Questions in INSTALLSCRIPT
- How to set Required Execution Level to Administrator for Basic MSI project type with MSI file
- How to match a pattern with VbScript regex in InstallShield?
- Error while compiling the script in installshield
- How can i validate if my Javascript tracking script on customer site is successfully installed?
- Implement functions for the buttons in the installshiel dialog
- How to disable silent installation in InstallShield?
- Failed to install mysql server through Installshield (mysql-installer Information: 10 : MySQL Server 5.6.21's change state request failed)
- How can I obtain filename of own MSI/EXE installer file?
- How can I create a checkbox that only if it's checked the installer creates shortcuts on Desktop in InstallScript project in InstallShield?
- InstallShield 2020 - installscript to MSI - migrating first installs, major upgrades, minor updates, patches
- How can I find the previous install location of an application in InstallScript during a major upgrade?
- Is there a way to check encoding of files through Install script or batch?
- Installshield installscript setup terminates after UAC prompt
- Why does InstallShield 2015 InstallScript Installer asks for Restart during Uninstallation?
- How to run RegAsm /codebase with an InstallScript project?
Related Questions in MERGE-MODULE
- How to avoid broken taskbar shortcut after app update?
- Merge module components remianed in the system as residue
- Resolve Merge Module File removal issue of 2 MSI application
- Unable to find module file 'C:\Program Files (x86)\Common Files\Merge Modules\Microsoft_VC120_MFCLOC_x64.msm
- What it means to have MSI for a MSM?
- How to call the Existing 5 merge module(.msm in new merge module without .msi project
- Call Merge-Modules custom action from Setup Project
- New files added in a patch are removed during uninstall - even when marked permanent
- WiX using partial merge module
- Visual Studio setup project and msm file
- Installshield - Merge Module - Dynamic destination directory based on user dialog input
- How to install files to Public Documents in merge module?
- Installshield: file duplicate because of merge module
- How to convert an MSM file into an MSI file on the command line? Doing this with the Windows Installer SDK, or COM
- Wix: Reschedule RegisrySearch and set property in Merge Module
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Assuming you mean an InstallScript project that uses multiple merge modules via the Merge Module Holder Object, no there's no great way. This is part of why the MMHO has been deprecated. Each of the merge modules is built into its own .msi and launched from the InstallScript project; you should probably do that manually so you can pass properties to each .msi file.
However since these are .msi files, you might check to see if the standard conditions like the ones in this article can help. http://www.installshield.com/news/newsletter/0212-articles/msiconditions.asp Note that these would have to be in the merge modules.