While I was just doing something similar with WixUI_Minimal, the problem was
because of this:
<UI Id="ui">
...
<InstallUISequence>
<Show Dialog="InfoDlg" Before="ProgressDlg">NOT Installed</Show>
</InstallUISequence>
</UI>
...
<InstallUISequence>
<Show Dialog="InfoDlg" Before="ProgressDlg" Overridable="yes">NOT
Installed</Show>
</InstallUISequence>
I get similar errors as you if I don't comment out one of those two Show
elements. Mysteriously, this creates no problem in the default
WixUI_Minimal.wxs & WelcomeEulaDlg.wxs, even though together they also make two
references like this. Maybe we need to put one of them in a Fragment in a
separate file, for some reason?
This problem aside, I've never succeeded in customising a WiX installer UI. :-s
I have to guess I'm doing it wrong, but it sometimes really seems like pulling
teeth for some (hopefully very good) reason.
Alain
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Thursday, August 29, 2013 17:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] using WixUI_Advanced
Has anyone had success copying WixUI_Advanced.wxs to a
Custom_Advanced.wxs and using it in your msi installer?
I end up with lots of errors like these:
[exec]
C:\cygwin\home\build\current\EUROPA\Source\wix_project\Custom_Advanced.wxs(37)
: error LGHT0091 : Duplicate symbol 'CustomAction:WixSetDefaultPerUserFolder'
found. This typically means that an Id is duplicated. Check to make sure all
your identifiers of a given type (File, Component, Feature) are unique.
[exec]
E:\delivery\Dev\wix37_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(37)
: error LGHT0092 : Location of symbol related to previous error.
[exec]
E:\delivery\Dev\wix37_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(38)
: error LGHT0091 : Duplicate symbol
'CustomAction:WixSetDefaultPerMachineFolder' found. This typically means that
an Id is duplicated. Check to make sure all your identifiers of a given type
(File, Component, Feature) are unique.
[exec]
C:\cygwin\home\build\current\EUROPA\Source\wix_project\Custom_Advanced.wxs(38)
: error LGHT0092 : Location of symbol related to previous error.
[exec]
C:\cygwin\home\build\current\EUROPA\Source\wix_project\Custom_Advanced.wxs(37)
: error LGHT0091 : Duplicate symbol 'CustomAction:WixSetDefaultPerUserFolder'
found. This typically means that an Id is duplicated. Check to make sure all
your identifiers of a given type (File, Component, Feature) are unique.
[exec]
E:\delivery\Dev\wix37_public\src\ext\UIExtension\wixlib\WixUI_Advanced.wxs(37)
: error LGHT0092 : Location of symbol related to previous error.
I copied WixUI_Advanced.wxs to my project directory as
Custom_Advanced.wxs, and changed
From:
< <UI Id="WixUI_Advanced">
To:
> <UI Id="Custom_Advanced">
And in my Product element I added
<UIRef Id="Custom_Advanced" />
What Am I missing? I'm following the Wix 3.6: A Developer's guide to
windows Installer XML.
On Thu, 2013-08-29 at 09:31 -0700, [email protected] wrote:
> In my wix msi I am giving the user a choice of per-user vs.
> system-wide.
>
> What is the best way to indicate a nested directory structure in
> ApplicationFolderName?
>
> Examples do not show how to do a nested directory structure.
>
> My directory structure looks like this, where the product is nested
> inside a folder named for the company, as there are many other products.
> <!-- Directory Structure -->
> <Directory Id="TARGETDIR" Name="SourceDir">
> <Directory Id="ProgramFilesFolder" Name="Pfiles">
> <Directory Id="MYPRODUCTSDIR" Name="$(var.MyCompanyName)" >
> <Directory Id="INSTALLDIR" Name="$(var.MyProductName) $(var.Version)" >
> </Directory>
> </Directory>
> </Directory>
> </Directory>
>
> In <Project> I added
> <UIRef Id="WixUI_Advanced" />
>
> Can ApplicationFolderName look like this, where I spell out the directory
> nesting?
> <property Id="ApplicationFolderName"
> Value="$(var.MyCompanyName)\$(var.MyProductName) $(var.Version)" />
>
> Is this the right way to do it or is there something better?
>
> Additionally, the dialog does not look exactly like a drop in
> replacement for the simple radio selection bettween per-user vs
> system-wide provided in the Visual Studio Setup Project. Is there a
> way to get that behavior?
>
>
>
> NOTICE: This email may contain confidential information. Please see
> http://www.meyersound.com/confidential/ for our complete policy.
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users