<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/>


And WixUI_InstallDir.wxs is the same as the original:

<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog"
Value="UserRegistrationDlg">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SetTargetPath"
Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="DoAction"
Value="WixUIValidatePath" Order="2">NOT WIXUI_DONTVALIDATEPATH</Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="SpawnDialog"
Value="InvalidDirDlg" Order="3"><![CDATA[NOT WIXUI_DONTVALIDATEPATH AND
WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="InstallDirDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg" Order="4">WIXUI_DONTVALIDATEPATH OR
WIXUI_INSTALLDIR_VALID="1"</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder"
Property="_BrowseProperty" Value="[WIXUI_INSTALLDIR]" Order="1">1</Publish>
<Publish Dialog="InstallDirDlg" Control="ChangeFolder" Event="SpawnDialog"
Value="BrowseDlg" Order="2">1</Publish>


Paul


-----Original Message-----
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: January 9, 2015 13:54
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Extra Dir Created When Install Dir Has Spaces

If it's done right, it shouldn't make a difference whether it is command
line or UI driven.

How is it set and what is the value of WIXUI_INSTALLDIR Property?

--
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:45 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Extra Dir Created When Install Dir Has Spaces

Thank you and my apologies for not including this critical information.  I
am using WixUIExtensions so this is a graphical, interactive installation.
My UI is a modified version of WixUI_InstallDir.wxs.

I did verify that the problematic directory is not created until after you
confirm installation via the UI.

Also, the application installs correctly in C:\Program Files(x86)\protop3 or
c:\My Apps\protop3.  Everything works as expected EXCEPT this additional
directory that is created.


Paul


-----Original Message-----
From: John Cooper [mailto:jocoo...@jackhenry.com]
Sent: January 9, 2015 13:33
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Extra Dir Created When Install Dir Has Spaces

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

------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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