How are you passing it to the installer?  If on the command line, the directory 
path needs to be "" delimited.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Paul Koufalis [mailto:p...@progresswiz.com] 
Sent: Friday, January 9, 2015 12:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Extra Dir Created When Install Dir Has Spaces

Wix Toolset 3.10

If I install my application in a directory with spaces (C:\Program Files, C:\My 
Apps) an extra directory is created (C:\Program or C:\My).
Running msiexec with /l*vx doesn't show any trace of this directory being 
created in the log file.

Can anyone help me to debug?  Or make any suggestions?


Relevant Code snippets:

    <Directory Id='TARGETDIR' Name='SourceDir'>
      <Directory Id='ProgramFilesFolder' Name='PFiles'>
        <Directory Id='INSTALLDIR' Name='protop3' />
      </Directory>
      <Directory Id="ProgramMenuFolder" Name="Programs">
         <Directory Id="ProgramMenuDir" Name="Protop 3" />
      </Directory>

      <Directory Id="DesktopFolder" Name="Desktop" />
    </Directory>

    <Feature Id='Complete' Title='Protop 3' Description='Protop Complete 
Installation.'
             Display='expand' Level='1'
ConfigurableDirectory='INSTALLDIR'>
      <Feature Id='MainProgram' Title='Program' Description='The main 
executable.' Level='1'>

        <ComponentRef Id='ProtopShortcut' />
        <ComponentRef Id='Pt3InstShortcut' />
        <ComponentRef Id='Pt3DbCfgShortcut' />
        <ComponentRef Id='Pt3SvcShortcut' />
        <ComponentRef Id='InstallPerms' />
        <ComponentGroupRef Id='protopGroup' />
      </Feature>
    </Feature>

And my componentgroup looks like this :

    <Fragment>
        <DirectoryRef Id="INSTALLDIR">
            <Directory Id="BinDirectory"                        Name="bin"
/>
            <Directory Id="dir3E02976F57563947ADB6A8038DF4FCEF" Name="etc"
/>
            <Directory Id="dir9817368147C56C18448096D3AFE90F6B"
Name="util" />
        </DirectoryRef>
    </Fragment>
    <Fragment>
        <ComponentGroup Id="protopGroup">
            <Component Id="bindir" Directory="BinDirectory"
Guid="{FFA1E36F-4CD7-4279-9395-8C8AB7C4F580}" >
                <CreateFolder />
            </Component>
            <Component Id="cmp1F12EEE1D1752BEA0504C58E4E3C8591"
Directory="INSTALLDIR" Guid="{72A2EAF9-3B73-4F99-BF63-581A0B0EFE75}">
                <File Id="fil870B63C7FDEEF56BE8F094B1C692C920"
KeyPath="yes" Source="SourceDir\pt3inst.bat" />
            </Component>
        </ComponentGroup>
    </Fragment>

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website, sponsored 
by Intel and developed in partnership with Slashdot Media, is your hub for all 
things parallel software development, from weekly thought leadership blogs to 
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to