[wix-users] Fixed Installation Path

Rob Mensching rob at firegiant.com
Thu Feb 23 07:49:50 PST 2023

If you don't want the UI to show up with buttons to change the directory, don't add UI dialogs that do that. If you don't want the Directory to be configurable from the command line don't make it all caps.

Some additional context on the last point:

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of John Schneiderman via wix-users
Sent: Thursday, February 23, 2023 12:17 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: John Schneiderman <john.schneiderman at cdprojektred.com>
Subject: [wix-users] Fixed Installation Path

I'm wanting an installer that will always install to a specific location, i.e. the user cannot change the path to where it's installed. 
I'm currently using CPack with a WIX template to set the location desired. I can't find information on is how to prevent the user from changing the installation location. Is there a way to do this, e.g. 
prevent the custom component view from appear, prevent the browse button from appearing, etc.?



John Schneiderman | Expert Software Engineer
e: john.schneiderman at cdprojektred.com

playgwent.com | thewitcher.com | cyberpunk.net en.cdprojektred.com | cdprojekt.com | gog.com CD PROJEKT S.A. | ul. Jagiellońska 74, 03-301 Warsaw, Poland
t: +48 22 519 69 00

CD PROJEKT S.A. | ul. Jagiellońska 74, 03-301 Warsaw, Poland | t.: +48 22
519 69 00 | Share capital: PLN 100.770.800 (fully paid-up) | District Court for the Capital City of Warsaw, XIV Commercial Division of the National Court Register | KRS: 0000006865 | NIP: PL7342867148 | BDO: 000141053 This email may contain confidential information. If you are not the intended recipient, please delete it and notify the sender immediately. We use your personal data to communicate with you. You can access, update, delete your data or file a GDPR complaint. More details here <https://cdn-l.cdprojektred.com/CDPR_General_Partners_Privacy_Notice_EN.pdf>

WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

More information about the wix-users mailing list