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
339 Views Asked by user2437443 At
1
There are 1 best solutions below
Related Questions in VBSCRIPT
- Run VBScript from C# with hidden window and capture output
- Calculate if trend is up, down or stable
- How to click a plain button on a webpage using VBScript?
- Error when attempting to get all elements with specific Class
- Read Hyperion Planning webform XML with VBScript
- Force OK the Privacy warning message in macro enabled MS excel using VBA
- Swapping attributes in AD
- Find and Replace code between #region tags in .cs file
- VBS- Can I exit a VBS message box that repeats itself without going to the task manager or cmd?
- Alternative of IN keyword of SQL in Siebel Server scripting for search spec?
- How to find files and then PSFTP to local system?
- Object CRT in VB script
- How can I get a one liner xcopy command to run in vbscript?
- Get a process path with VBS
- How do I reload an ASP page with a new querystring?
Related Questions in WIX
- Word Addin not working in 64bit office but working on 32bit office
- How to define WIX agent requirement in TeamCity?
- WiX and custom extensions for primary output?
- executing an vb script from another project bud in the same solution in C#
- WiX – copy arbitrary files
- Is Component/@Guid attribute is a MUST in case of producing MergeModule
- WiX installer - change the install path
- Single Package Authoring
- Delay in custom action
- WiX - How to use a config file to decide which MSI to run?
- How to change Install button display text conditionally
- Service dependencies are causing my wix msi to force a reboot on uninstall
- WiX installer xml add folder
- wix and heat configure installation folder
- Cant find File System, Registry icon in WIX setup project in Visual Studio
Related Questions in WINDOWS-INSTALLER
- How can I install an MSI using python's subprocess, passing an install directory containing a space?
- Upgrading MSI throwing 'method not found' error
- Windows installer - run a subsequent time, select "modify" and run specific steps
- Single Package Authoring
- WiX - How to use a config file to decide which MSI to run?
- Want to create mysql user in installation with full Privileges In NSIS
- How to change Install button display text conditionally
- error of updating an C# web service application by accessing a URL from MS installer command "msiexec" in C# VS 2010
- Service dependencies are causing my wix msi to force a reboot on uninstall
- Running msi causes “module failed to register” in 32bit win7,but works in 64bit win7
- Change the installation path with msi API
- After installation of website it changes Application Pool of web application that follows it.
- Getting strange errors when installing visual studio 2015 community rc
- Creating a silent installer for a MSI
- install msi with a product code through msiexec
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
- How to copy a file to pre-destinated folder using File.OpenDialog?
- FileOpenDialog from vbScript custom action appears behind main dialog
- Don't show network drives using FileOpenDialog
- openfiledialogue in c# is selecting multiple values but its selecting the last selecteditem as the first
- How can I use Explorer in Powershell to select a file to be processed within my Powershell script
- MouseArea calling a FileDialog : know which element opened the FileDialog (QML)
- Directory picker dialog in WebExtension
- When using OpenFileDialog I see Assertion failed when trying to close form, how can I fix that?
- How do I present an open folder selection dialog in Perl?
- Failing To Load Script File in WPF via FileOpenDialog
- Failing To Cancel The Load File Operation in WPF
- CFileDialog: dynamic modification of m_ofn?
- WPF C# Opening files in multiple directories
- CDialogEventHandler_CreateInstance Identifier Not Found
- 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
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.