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

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


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/



More information about the wix-users mailing list