[wix-users] Create folder directly under C-Users-Public

Wheeler, Blaine (DSHS/DCS) BWheeler at dshs.wa.gov
Fri Dec 9 08:08:43 PST 2016


Plus 1 - well said

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Douglas, Keith (STATCAN)
Sent: Friday, December 09, 2016 8:06 AM
To: WiX Toolset Users Mailing List
Subject: Re: [wix-users] Create folder directly under C-Users-Public

As a general piece of "wisdom", such as it is, that I've learned the last few years when dealing with WiX and Windows Installer:

Windows Installer for many of us here was the first time a lot of the tacit rules for development in Windows that are "good to do" or even required sometimes actually get enforced. So a lot of developers who are not used to thinking in these terms find Windows Installer incredibly off putting for those reasons. (You have to point them to MSDN repeatedly on the practices they should have been doing and aren't, and so on.)

This also applies analogously to developers who are used to Java on unixy things and are targeting Windows client side for the first time in a while. Tomcat, for example, seems to be a very unfriendly-from-the-perspective-of-Windows thing.


Keith Douglas

Programmer Analyst, Collection Systems Division Statistics Canada / Government of Canada Keith.Douglas at canada.ca / Tel : 613-854-5589

Programmeur analyste, Division des systèmes de collecte Statistique Canada / Gouvernenment du Canada Keith.Douglas at canada.ca / Tél :613-854-5589

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Wheeler, Blaine (DSHS/DCS)
Sent: December-09-16 10:57 AM
To: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Subject: Re: [wix-users] Create folder directly under C-Users-Public

You could spend a lot of time custom coding or you could get the dev's to acknowledge the OS desire for the files to be under documents.

I learned the hard way the "C:\" may not exist if the network redirects file locations and went back to using the environment variable.  Once our devs processed the idea that C isn't a dependable thing it actually made their lives easier.

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Phill Hogland
Sent: Thursday, December 08, 2016 12:07 PM
To: wix-users at lists.wixtoolset.org
Subject: Re: [wix-users] Create folder directly under C-Users-Public

I don't know if doing this is advisable, as it seems like the OS wants you to use one of the predefined folders, but I expect that any advice would have to start with knowing more about what you are planing to use in wix.

Burn or just an MSI?

If Burn, WixStdBA or custom ba?

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Urban Olars <urban.olars at gmail.com>
Sent: Thursday, December 8, 2016 12:56:45 PM
To: wix-users at lists.wixtoolset.org
Subject: [wix-users] Create folder directly under C-Users-Public

I want to install some non-executable files to C:\Users\Public\<My
folder>\. How can I create a folder  under C:\Users\Public?
It is no problem to retrieve the path "C:\Users\Public\Documents" through a variable but then I somehow need to remove "\Documents" from that string.
Can that be achieved somehow with help of the commands in Wix or do you have any other advice for solving my problem?

Thank you very much in advance for the help.

--
/Urban Olars

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

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

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

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


More information about the wix-users mailing list