I wrote custom action in a DLL which identifies country (specifically North America or Europe) and saves result in a WiX property (it uses MSI API to store property into the table). Then I use this property in component conditions
Scott Palmer-3 wrote: > > As part of my setup I would like to write certain registry values > depending > on the country setting of the OS. E.g. for North American users I might > set > a registry value to 1, for European users the value would be set to 2. > > Is there an easy way to do this without writing a custom action? > Failing that, is there a custom action that can be written easily? > > > Thanks, > > Scott > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://www.nabble.com/Conditionally-installing-components-based-on-user%27s-locale-tf3875424.html#a11030742 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users