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

Walter Dexter wfdexter at gmail.com
Sun Dec 11 11:50:01 PST 2016


I suppose you'd have to write a custom action that takes whatever property
defines c:\users\public\documents and sets a custom property to
c:\users\public, then use that property for a directory.

At least, that's the only thing I can think of offhand.

The MSIs I create target a population of around 26,000 internal devices
that are all virtually identical, so I'd just define c:\users\public as a
hard-coded path. If you're targeting the general public that's a bad plan
as you can't safely assume that the C: drive even exists.

On Sat, Dec 10, 2016 at 4:31 AM, Urban Olars <urban.olars at gmail.com> wrote:

> I am trying to build an msi.
> If this will require me to do a lot of custom coding or whatever, I am
> still interested to learn how to do that.
>
> Thanks!
>
> 2016-12-08 21:06 GMT+01:00 Phill Hogland <phill.hogland at rimage.com>:
>
> > 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/
> >
>
>
>
> --
> /Urban Olars
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>



More information about the wix-users mailing list