Does anyone know how to make InstallAware do a rollback of a database when the user clicks 'Cancel'? Unlike InstallShield I'm not seeing any way to specify when individual scripts run.
InstallAware database rollback
439 Views Asked by Max Schmeling At
1
There are 1 best solutions below
Related Questions in INSTALLATION
- INSTALL_FAILED_DUPLICATE_PERMISSION: Package
- How can i install pyaudio on MacOS
- Problem installing Manim on Windows 11. Error regarding the wrong "decorator" version
- 'No such file or directory' installing RTC-Tools through pip
- Install Postfix Mail Server
- Plugin with id 'com.android.application' not found in Github Winlator Project
- OSError: [WinError 5] Access is denied: 'c:\\python311\\scripts\\pip.exe' Consider using the `--user` option
- Installing the C compiler for LC3
- Why is installation of MySQL on my mac is always halted
- OS: Parrot OS (hashcat : Depends: libminizip1t64 but it is not installable)
- GROMACS 2024 with CP2K 9.1 BUILD
- After the installation process When the server is running, nothing is displayed on the page myddleware
- PHP php_mongodb.dll for 32bit
- A given package is installed but spyder won't see it
- I cant install libraries?
Related Questions in INSTALLATION-PACKAGE
- Not able to kick start Airflow
- Package installation problems when using Python 3.12 and pip version 24.0
- Problem loading the previously used libraries in R
- Having trouble installing HDBCLI in to python 3.10
- Installation of package 'glmnet' had Non-Zero Exit Status after R update
- Unable to install R packages from source
- Error Building NumPy wheel in Termux due to deprecation of `numpy.distutils`
- Why can't call the installed Pillow module in virtual environment directory?
- React Native project initialisation stuck at installing on command line
- Installation issue EnrichmentMap Pipeline Collection
- How can I install bertopic using anaconda prompt when i am getting error
- I want serve yii application by php yii serve but show me this errors
- Installed Package not found
- Atom Searching for “gpp” failed.Hide output… certificate has expired
- How to install DPpackage in R on Mac?
Related Questions in INSTALLAWARE
- Check/Install .NET 4.8 while running installaware exe (Installaware Studio 18)
- Inconsistent MSI behavior
- SCCM does not update software that was installed manually
- Delphi and InstallAware - Changing Root Folder when using Shortcut
- Running Wix bundle installer fails during installation
- Creating a Windows installer using C# Winforms instead of Installer tool
- Deploy Webservice using InstallAware
- Application icon is blank when started from Process.Start
- error:unable to compile msi action install assembly
- Open an application's Uninstall Wizard for InstallAware
- is there a way to silently rollback installation upon failure of new update?
- Install windows service from installaware
- Run application updates with non admin users
- MSI Engine fails to start
- Is there a way to automatically update the readme in installaware 9?
Related Questions in DATABASE-INSTALLATION
- Oracle 18c Database Installation issue
- mongod command for using mongodb-community version in Macos Mojave gives error
- Can I install Oracle XE or any free version on Ubuntu 18.04?
- SQL Server 2008 R2 installation in Windows 10 requires .NET Framework 3.5 SP1
- Oracle database installer in linux [INS-10102] Installer initialization failed
- Can not install Oracle database in Linux 7
- What setting has to be done to connect with database with this connection string given below?
- Oracle g11r2 installation on rhel7 return a [INS-20802] error
- SQL Server 2016 installation - server details
- DB Installation Issue: Binary files folder (bin) is missing in downloaded zip for MongoDB (Windows 64-bit)
- Oracle Database Configuration Assistant failed
- MongoDB one server problems/pittfalls
- Installing Oracle 11g 64 bit on Rhel 6
- I cannot install MongoDB because of dbpath
- Oracle - Instant Client
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 # Hahtags
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?
I don't think InstallAware would be able to rollback a database transaction. I didn't see any intrinsic support for SQL Server rollbacks in their MS SQL Server command. You would need to code your own rollback script, if that is possible.
There is usually a section in the MSICode that has an IF block if the user cancels the installation during the initial dialogs. It looks something like this
This occurs before the Windows Installer engine actually performs the installation. If you have not executed your database scripts, then no action is required. If you have applied database scripts before this point, you will need to supply a rollback script (if possible) and execute it in that block, but before Terminate Installation.
If you cancel the installation while install, you'll have another shot of rolling back your changes. When the user presses the cancel button while the installation process is running (i.e. after the user has made any selections), the InstallAware variable SUCCESS will be set to CANCEL. You can check for that condition and execute your rollback script. There is usually a block of code that does various things based on the value of SUCCESS, you can add your code there.
You could always make your SQL script the last command executed by InstallAware as part of the installation. That would eliminate the need to handle the cancellation.