I am creating two environment variable during installation. During installation itself those environment variables are being used by some of my batch files. But I cant find the environment variables available at the point when my batch files starts its execution. Post installation I can find the environment variable being set properly. What am I missing here? Is there any sequencing issue, like I am running my batch files before the environment variable is even set? Please shed some light on this I am trying this for past one week.
Environment variable for current installation process installshield 2011
254 Views Asked by k.lo At
1
There are 1 best solutions below
Related Questions in WINDOWS-INSTALLER
- Wix bundle of third party exe and new msi cant figure out detect conditions
- create MSI that can be installed in console per user and per machine
- Invoke-command works only when any user is logged (msi install)
- Windows installer silently skips over component marked as 'Local'
- Customizing the Behavior of the BrowseDlg in WiX to Use a Custom Dialog for Invalid Directories
- Unable to format string in desired format - WiX
- Creating a Desktop Version of a Web Application (NextJS TypeScript Golang Echo)
- wix toolset radio button condition
- Creating an Installer Wizard
- Using msiexec on unattend.xml as SynchronousCommand but it run as asynchronous
- How to protect MSI installer digital signature from tampering
- I finished writing the code for an Android application, and it was in Python kivy, and while converting it to exe, this problem appeared
- Windows Installer Issue: Files Not Replaced After Major Upgrade - Seeking Assistance and Clarification
- WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
- 'The cabinet file media1.cab required for this installation is corrupted and cannot be used ' in dowloading Node.js
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 INSTALLSHIELD-2011
- MSI installer build issue with error 7354 after upgrading InstallShield
- How to modify the skin color and background of the installer generated using Install-shield
- Installshield problem setting file permissions
- Environment variable for current installation process installshield 2011
- how to share INSTALLDIR value across different msi InstallShield 2011
- How to read data from RTF file & write it to ScrollableText at the time of installation?
- Web.config files are being being populated with an empty string during upgrade InstallShield
- Custom installation installing empty folder.
- Adding InstallShiled project to another InstallShield project
- How to find the install location and GUID of 3rd party application whose GUID changes for every installation using install shield?
- Can we downgrade InstallShield project?
- InstallShield add dll not to INSTALLDIR and register it
- How do I disable font registration in an Installshield (2011) basic msi project?
- Installshield: uninstall does not work
- Installshield - Running Powershell script from elevated command prompt
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)
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?
It would help to know exactly where your code is being run (sequenced) and whether it's deferred, impersonated and so on, and whether the variable is for the User or the System.
The issues tend to be:
If it's deferred and running under the local system account it won't see a user variable.
If it's impersonated it won't see any user variables because impersonation means only user account credentials - it does not mean load up the entire user profile (which is required to see the user variables).
You might be doomed because Windows Installer doesn't broadcast or commit the changes until somewhere at the end of the install. A Commit custom action might find them, or a shell execute of a program after InstallFinalize might find them.
Services don't see them because the SCM holds them from system boot time and doesn't refresh them.
If you need a running program to pick them up after the install it needs to respond to the WM_SETTINGSCHANGED Windows message.
The first three are probably most relevant to your problem.