How can I force Inno Setup to show UAC prompt if elevated privileges are required to run specific installator during my setup? Skipping to install this installator is not critical. I found out that I can specify AfterInstall function to test if privilege elevation is required (IsAdminLoggedOn()), but how to show UAC prompt to run this installator as specific user?
Force Inno Setup to show UAC prompt during installation
1.2k views Asked by Megamozg At
1
There are 1 answers
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 INNO-SETUP
- InnoSetup error 193 after install Mysql Connector
- How to install an app with default admin privileges via Inno Tool (or some other setup tool)?
- Using Inno Setup LoadStringFromFile always gives "Type mismatch"
- PowerShell Start-Process infinite execution of installer
- Problem with icon when changing language in inno setup
- How can I add exclusion and redistributables in Inno Setup?
- Create adapted desktop icon when installing files into a user selected directory
- Install two files into a user selected directory
- Change installed application's name
- unable to start windows service after registering for start node server using inno setup script
- Copy files to several destinations read from registry using Inno Setup
- Service with DependsOn is not being set correctly in Inno Setup via CreateService function
- How can I create a txt file with Inno Setup?
- Check a checkbox in Inno Setup installer from another application using C++
- Disable MongoDB logging with flag on MsiExecWithFlags?
Related Questions in PRIVILEGE-ELEVATION
- Ansible Timeout waiting for privilege escalation prompt when using ask-pass and ask-become-pass
- Running Powershell command from within VBScript. The third line of code doesn't run
- os.copy2 python function error number 13 - Permission denied - While copying register files from windows 10 with admin rights
- How to give list of commands that a user can sudo into as a script/executable in sudoers?
- standard user start process , and process have administrator privilege without input administrator password
- Why does RPCSS would have a handle which type is token and whose owner is SYSTEM?
- How does the Appinfo service creates an elevated process under the hood?
- How to elevate to SYSTEM - needed to execute RunAsUser module
- How to change a Process' Privilege Level inside of a Windows File Filter Driver (minifilter driver)?
- Is there a way to execute a program with elevated privileges as a non-admin user in Win10?
- Yum privilege escalation
- Run electron app using admin privilege (sudo yarn start)
- Run a subshell as root
- Google Cloud equivalent of Azure Privileged Identity Management (PIM)
- How to have a non-root parent process spawn a root child process under MacOS/X?
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)
Found the solution. So, if you need to run specific installator with elevated privileges during your setup you need:
Specify your installator in
Filessection as follows:In
Codesection you shall defineSomeSetupAfterInstall(). There you should run your installator withrunasverb usingShellExecif it is not admin launched setup. It might be like this: