Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-19 Thread puyopuy

Thank you very much for your help, I appreciated. My problem have been fixed
by using your advise. :) Happy Easter 
:clap:

Bob Arnson-6 wrote:
> 
> puyopuy wrote:
>> I removed the condition and install my msi, the desktop shortcut created
>> this mean the create shortcut function working property.  After that I
>> put
>> back the condition ADDLOCAL=FeatureB and compile
>> the
>> msi again.
>>   
> 
> You don't need component conditions to do what you want. Just use 
> ComponentRef to include the shortcut component only in the feature you 
> want. MSI will install it only when that feature is selected.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16172851.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-19 Thread Bob Arnson
puyopuy wrote:
> I removed the condition and install my msi, the desktop shortcut created
> this mean the create shortcut function working property.  After that I put
> back the condition ADDLOCAL=FeatureB and compile the
> msi again.
>   

You don't need component conditions to do what you want. Just use 
ComponentRef to include the shortcut component only in the feature you 
want. MSI will install it only when that feature is selected.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-15 Thread puyopuy

Please allow me to clarify my testing results. I installed the lastest WIX
setup (v3.0.3907).  

I removed the condition and install my msi, the desktop shortcut created
this mean the create shortcut function working property.  After that I put
back the condition ADDLOCAL=FeatureB and compile the
msi again.

case 1: run slient install with command msiexec /i bin\TestFeature.msi /q -
will create shortcut - this is incorrect beahavorius 

case 2: run slient install with command msiexec /i bin\TestFeature.msi /q
ADDLOCAL=FeatureA,FeatureB - won't create shortcut - this is correct
beahavorius .

case 3: run slient install with command msiexec /i bin\TestFeature.msi /q
ADDLOCAL=FeatureB - won't create shortcut - this is incorrect beahavorius.




puyopuy wrote:
> 
> Thanks Bob, it doesn't work even I removed the quote.  The condition seem
> to be true all the time. I uploaded my latest source 
> http://www.nabble.com/file/p16074651/TestFeature.zip TestFeature.zip , you
> may want to try in your environment.
> 
> msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureA,FeatureB
> or
> msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureB
> 
> Both command will install the shortcut on the desktop.
> 
> Thanks
> 
> 
> Bob Arnson-6 wrote:
>> 
>> puyopuy wrote:
>>> I tried "ADDLOCAL=FeatureB" but it will return
>>> True
>>> all the time even I pass-in
>>> "ADDLOCAL=FeatureB,FeatureB"
>>>   
>> 
>> Don't quote the condition.
>> 
>> -- 
>> sig://boB
>> http://joyofsetup.com/
>> 
>> 
>> 
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16075073.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-15 Thread puyopuy

Thanks Bob, it doesn't work even I removed the quote.  The condition seem to
be true all the time. I uploaded my latest source 
http://www.nabble.com/file/p16074651/TestFeature.zip TestFeature.zip , you
may want to try in your environment.

msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureA,FeatureB
or
msiexec /i bin\TestFeature.msi /q ADDLOCAL=FeatureB

Both command will install the shortcut on the desktop.

Thanks


Bob Arnson-6 wrote:
> 
> puyopuy wrote:
>> I tried "ADDLOCAL=FeatureB" but it will return
>> True
>> all the time even I pass-in
>> "ADDLOCAL=FeatureB,FeatureB"
>>   
> 
> Don't quote the condition.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16074651.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-15 Thread Bob Arnson
puyopuy wrote:
> I tried "ADDLOCAL=FeatureB" but it will return True
> all the time even I pass-in
> "ADDLOCAL=FeatureB,FeatureB"
>   

Don't quote the condition.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create shortcut base on user selected feature

2008-03-14 Thread puyopuy

I found a good 
http://www.dizzymonkeydesign.com/blog/misc/adding-and-customizing-dlgs-in-wix-3/
web site  talk about this issue.  But I can never make the condition
correctly. 

I tried "ADDLOCAL=FeatureB" but it will return True
all the time even I pass-in
"ADDLOCAL=FeatureB,FeatureB"
 
Any idea?


puyopuy wrote:
> 
> Hello guys,
> 
> I want to use WIX to create a msi with 3 features Full, FeatureA,
> FeatureB.  Full will install FeatureA and FeatureB.  I want to create a
> shortcut in desktop when user selected FeatureB only (select Full or
> FeatureA won’t create this shortcut).  I tried to use
> Arguments="[ADDLOCAL]=FeatureB" in the shortcut element but still not
> perform what I want to do.  
> 
> 
> http://schemas.microsoft.com/wix/2006/wi";>
>Language="1033" Version="1.0.0.0" Manufacturer="Microsoft"
> UpgradeCode="3cc55a49-834d-424c-b405-d9089063a403">
> 
> 
> 
>   
>   
> 
>   
>  Guid="{D0C6AD7D-2CF5-4115-BC0D-AF39E2D23D51}">
>Compressed="yes" DiskId="1" Source="File\TextFile1.txt" />
> 
>  Guid="{B073761A-4A85-478b-A73D-EDA1BA760DA7}">
>Compressed="yes" DiskId="1" Source="File\TextFile2.txt" />
> 
>  Guid="{833E3DBB-E62C-44ab-9615-B26FAB911754}">
>Compressed="yes" DiskId="1" Source="File\TextFile3.txt" />
>Arguments="[ADDLOCAL]=FeatureB" Name="ServerExe" Show="normal"
> Advertise="yes" />
> 
>   
> 
>   
> 
> 
> 
>   
>Level="3">
> 
>   
>Level="3">
> 
>   
> 
> 
> 
> 
> 
>   
> 
> 
> 
> Any help is much appreciated.
> 
> Thanks
> Puyopuy
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-create-shortcut-base-on-user-selected-feature-tp16048115p16064457.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users