I have a custom wixtoolset 3.10.2 bundle that installs 8 different .msi packages. I need to have the extraction/cache folder for the bundle be a folder different than the the standard "C:\Users\myuser\AppData\Local\Temp". Is this possible? I need to do this because we are not allowing any executable to run from this standard temp folder for security reasons. I would like the cache folder to be something like "C:\MyCompany\Install\Temp" That way I can 'whitelist' that folder.
Change the WixBundleExecutePackageCacheFolder for Custom Wix Bundle installer
1k views Asked by RichR AtThere are 2 answers
Sean Hall
On
As part of the work done for #5830 and #5856 in v4, Burn can have separate locations for the extraction folder (where the clean room process and the elevated process will start from) and the acquisition folder (where payloads are copied/downloaded to before moving to the Package Cache folder). Note that none of these are WixBundleExecutePackageCacheFolder, which is a dynamic value that indicates where a specific package is currently executing from.
The acquisition folder is still not configurable and uses %TEMP%. Burn should not execute files from here so that should be sufficient.
The extraction folder still defaults to %TEMP% but can be overridden on the command line (-burn.working.directory=<path>) or in the registry (EngineWorkingDirectory in HKLM\Software\Policies\WiX\Burn).
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in WIX
- Wix bundle of third party exe and new msi cant figure out detect conditions
- Getting 'Error writing to file' during WiX Toolset upgrade when changing installation scope
- Unable to format string in desired format - WiX
- wix toolset radio button condition
- How to Add custom dialog to Wix v4
- How to invoke UAC(Elevation shield) Prompt while trying to open bootstrapper bundle exe in WIX
- How do I use heat.exe with Visual Studio extension?
- Is anybody using WiX Toolset v5.0.0-rc.1?
- WixToolset v4 - Installation with scope "PerUser" fails when package NetFx462Redist is used
- Wix not writing to HKCU when run with a user needing admin login?
- WIX project Radio button value usage
- WinAPI / WIX - How to detect if the MSI installer is running on ARM64 or x86?
- Detect re-installation on rollback
- Update to Wix 3.14 from 3.11 get error MSB4181: The "MSBuild" task returned false but did not log an error
- Wix: Error LGHT0091: Duplicate symbol 'Property:WIX_IS_NETFRAMEWORK_472_OR_LATER_INSTALLED' found
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 BOOTSTRAPPER
- Wix bundle of third party exe and new msi cant figure out detect conditions
- How to invoke UAC(Elevation shield) Prompt while trying to open bootstrapper bundle exe in WIX
- WIX 3 and major upgrade : older package uninstall runs without bootstrapper application
- Wix custom bootstrapper - Intercepting InstallShield silent install command line and modify command line string/flags to install MSI
- "Failed to open registration key" WiX error is appearing when running Install after Uninstall
- navbar spacing using HTML, CSS and Bootstrap
- Can WiX Bootstrapper detect and uninstall previously installed MSI?
- Use custom action in wix bootstrapper | Wixsharp
- Managed Bootstraper Application (for .Net Framework ) for Wix Toolset v4 Bundle
- How to prevent Add/Remove Programs entry after WiX MBA installer bundle installs .NET Framework prerequisite
- How to uninstall bundle when uninstalling msi in wix
- Updating MSI installations with WiX Burn Bootstrapper Fails due to the MSI's ProductVersion 4th component being >65535
- Run cleanup with elevated privileges after uninstalling related bundle during upgrade
- WPF Caliburn Micro Bootstrapper not found instance from another project
- Theme file (thmutil) did not reconize my WixLocalization string
Related Questions in BURN
- Burn Bootstrapper - Preventing Modify/Uninstall page from appearing after installation
- What's the best way to start/stop a windows service before install/uninstall?
- How to unhide Wix Icon during a bundled installer?
- WiX4 bootstrapper: Right way to define boolean command line argument
- How to use ARPEntry to detect and uninstall an ExePackage?
- Updating MSI installations with WiX Burn Bootstrapper Fails due to the MSI's ProductVersion 4th component being >65535
- Run cleanup with elevated privileges after uninstalling related bundle during upgrade
- Wix Burn Bundle: Show ExePackages Output
- WiX4 Toolkit generates error "wix7506" when building a bundle
- Wix 4: Burn Bundle ask the user for variable(s)?
- How to uninstall exepackage where separate uninstaller executable to be invoked in wix
- WiX Burn BA - download payloads behind OAUTH, and is there a possibility to change the UpdateLocation and re-run engine detect?
- Is it possible to pass the install directory from one installer to another one within a Wix Bundle?
- How to use property values within downloadurl in wix
- WiX bundle install and standalone MSI for upgrades
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)
You can redirect the package cache but you cannot change where Burn extracts the BA from the bundle for use during initialization.