I have an WiX bootsrapper with WPF installer and according to the user selections from the Bootsrapper UI, I want to update a sql script which is included in the msi. I know how to read files in a Binnary element, but how I can edit one of them, to use it in a SqlScript? I Know also about the possibility of using SqlString. What would be the most appropriate solution?
Change dynamically during installation files binaries .txt, .sql
123 views Asked by user2297114 At
1
There are 1 answers
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 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
Related Questions in WIX3.9
- WiX: WIX Logs show two INSTALL actions. What is the first one?
- WiX: Show a UI Dialog-Element after "InstallFinalize"
- WiX: How to restart the explorer.exe immediately?
- Skipping restore for project 'SetupWix.wixproj'. The project file may be invalid or missing targets required for restore (NU1503)
- Error occurred with custom action RegisterComPlus with WIX 3.9 and above
- WPF Installer failed if anti virus installed
- Download files through Wix Bootstrapper\Wix Toolset
- Downloading and copying file using the WIX toolset
- WiX Toolset: Wrap exe in msi
- My app is 'installing' whenever a new user runs my app for THEIR first time
- Stop AppPool before installing website with WiX
- Reference subdirectory generated by WiX Heat tool
- WiX Bundle: Patches for 1.0.0 are not removed from Programs & Features when bundle 2.0.0 is installed
- Dot Net framework prerequsite check in wix not detecting properly for 64 bit machine
- Install Wix Toolset 3.9 for Visual Studio 2015
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 have to do it through a custom action. First let the msi copy the sql script. After that you have to execute a custom action to edit the copied file. Once it is edited, you can execute the sql script.
There is no way you can edit files inside a msi. Only thing you can do is pass parameters to the msi as you want and use the necessary values in the places where they should be edited.