I'm creating an installer at work that must open a file browser. There is no file browser in wix, so I built a custom vbscript action that uses the Shell.BrowseForFolder method. It's working fine, but the file dialog shows up behind the main wix window. Does anyone know a wix/vbscript approach I could take to solve this problem?
FileOpenDialog from vbScript custom action appears behind main dialog
344 Views Asked by user2437443 At
1
There are 1 best solutions below
Related Questions in VBSCRIPT
- use vbScript to detect whether the laptop is connecting the power supply
- Error Code 800A03EC in VBS when pasting formula into Excel
- Why is the WMI win32_Process commandline property is giving null for only some processes of non-admin users?
- Group By value to store as a Variable
- 0014 W3602 : Error 0 on line 19, column 1: : will trying to get value from table
- error "800A004C" with too long path with recursive folder serarch
- timer is not working for message box in vb script
- Comparing numeric values not as expected (VBScript)
- Received Script that is a possible virus. What does it do?
- Excel VBA Macro after M365 migration "Runtime error '380': A script engine for the specified language can not be created"
- Can I skip PDF form fields from being filled in an FDF?
- run VBScripts in DosBox-X
- Can I run a program and interfere with its interface using VBS? Possibly with sendkey/click?
- Varchar(max) causing other other accesses of the record set to return null
- Fixing roman numerals with regex and VBScript
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 CUSTOM-ACTION
- WiX - How to use a config file to decide which MSI to run?
- how can we change the title text color of customactionbar in android?
- WiX share code through custom actions
- Visual Studio Installer Project: Custom Action -> entry point not found
- Wix Bootstrapper Update UI (XAML) from CustomAction
- How to launch executable after installation (exe is delivered by .msm)
- How to call DISM command in WIX 3.7
- How can I use installscript to detect Excel.exe running?
- How to achieve authoring a single package for per-user or per-machine installation
- How to prevent Feature component executes before custom action in WIX
- How to sequence a custom action script after a specific dialog?
- Run exe after msi installation as administrator
- How to test CustomAction functions from application?
- CMD window remain open after wix installation runs application
- How to skip folder selection form when update installed application via Windows Installer setup project
Related Questions in FILEOPENDIALOG
- Using FilePicker in MAUI with admin privilege
- How do I use the TWebOpenDialog in Delphi TMS Web Core?
- Cordova - how to open a downloaded file with app picker
- Files do not open anymore from OpenFileDialog nor form workbooks
- Is there a way to check if file exists using HandleOpenDialog
- CFileDialog: dynamic modification of m_ofn?
- I want to know how to type a word from the clipboard and press enter in the file open window using c# and selenium
- Open for the second time a file give errors
- How to take a named path string stored in Excel's name manager and open a file using it. The stored string contains the entire file string
- How can I use Explorer in Powershell to select a file to be processed within my Powershell script
- askopenfile() got multiple values for argument 'mode' in python
- How to check if Open File dialog has been open after pressing a button in a Chrome Browser tab on Python?
- MouseArea calling a FileDialog : know which element opened the FileDialog (QML)
- How to select multiple files in open dialog box in Inno Setup?
- Why do repeated calls to FileOpenDialog cause a memory leak?
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?
Locate the HWND for the MSI UI and pass this into Shell.BrowseForFolder. I see a few example solutions that use FindWindow("MsiDialogCloseClass", vbNullString). Be careful about launching UI from a custom action: you need to consider silent installs/repair/uninstall, etc to make sure you get it right in all cases.
It looks like you're trying to allow the user to pick a directory. MSI has native support for this. I reccomend you use that. For an example see http://wix.codeplex.com/SourceControl/latest#src/ext/UIExtension/wixlib/BrowseDlg.wxs.