[WiX-users] wix

2011-11-08 Thread puyopuy
wix If you are looking for financial independence look no further 
http://.todayl0newsi.com

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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

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 ConditionADDLOCAL=FeatureB/Condition 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.  
 
 ?xml version=1.0 encoding=UTF-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
   Product Id=fc38ce2e-6c36-4f72-b043-a8f43924fb54 Name=TestFeature
 Language=1033 Version=1.0.0.0 Manufacturer=Microsoft
 UpgradeCode=3cc55a49-834d-424c-b405-d9089063a403
 Package InstallerVersion=200 Compressed=yes /
 Media Id=1 Cabinet=WixProject3.cab EmbedCab=yes /
 Directory Id=TARGETDIR Name=SourceDir
   Directory Id=DesktopFolder SourceName=Desktop /
   Directory Id=ProgramFilesFolder
 Directory Id=INSTALLLOCATION Name=Microsoft
   Directory Id=TestingFeature Name=TestingFeature
 Component Id=ProductComponent
 Guid={D0C6AD7D-2CF5-4115-BC0D-AF39E2D23D51}
   File Id=TextFile1.txt Name=TextFile1.txt
 Compressed=yes DiskId=1 Source=File\TextFile1.txt /
 /Component
 Component Id=ProductComponent2
 Guid={B073761A-4A85-478b-A73D-EDA1BA760DA7}
   File Id=TextFile2.txt Name=TextFile2.txt
 Compressed=yes DiskId=1 Source=File\TextFile2.txt /
 /Component
 Component Id=ProductComponent3
 Guid={833E3DBB-E62C-44ab-9615-B26FAB911754}
   File Id=TextFile3.txt Name=TextFile3.txt
 Compressed=yes DiskId=1 Source=File\TextFile3.txt /
   Shortcut Id=Shortcut_TextFile2 Directory=DesktopFolder
 Arguments=[ADDLOCAL]=FeatureB Name=ServerExe Show=normal
 Advertise=yes /
 /Component
   /Directory
 /Directory
   /Directory
 /Directory
 
 Feature Id=Full Title=Full Features Level=3
   ComponentRef Id=ProductComponent /
   Feature Id=FeatureA AllowAdvertise=system Title=Feature A
 Level=3
 ComponentRef Id=ProductComponent2 /
   /Feature
   Feature Id=FeatureB AllowAdvertise=system Title=Feature B
 Level=3
 ComponentRef Id=ProductComponent3 /
   /Feature
 /Feature
 
 UIRef Id=WixUI_FeatureTree /
 Property Id=AgreeToLicense Value=No /
 Property Id=InstallChoice Value=AR /
   /Product
 /Wix
 
 
 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


Re: [WiX-users] Is there a way to use my own bitmap?

2008-03-15 Thread puyopuy

You may try to have a look this
http://www.wixwiki.com/index.php?title=UiExtension 

Create a your image with the size 493 x 58 and put it in your source file
folder.
e.g. 
WixVariable Id=WixUIBannerBmp Value=SourceDir\xxx.bmp /

Hope this help


Xu nanxuan wrote:
 
 
 In fact, my question is not only limited to bmp, but other resources like
 texts, and so on.
  
 Firstly, i have to  make use of UIRef Id=WixUI_Common / to make my
 msi, but i need to do some change to the stock dialogs. i.e.I need to use
 my bmp as the BannrBmp rather than the default one that is generated when
 i finished compiling the Wix project. Yes, it's true that i can use tools
 like orca to change something after that. But it's not convenient. Is
 there a way to generate myVersion dialog just after compiling? (Again: I
 do not mean to use a custom dialog, but the existed dialog with my
 modification)
  
 thanks
 _
 Express yourself instantly with MSN Messenger! Download today it's FREE!
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
 -
 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/Is-there-a-way-to-use-my-own-bitmap--tp16065752p16067509.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 ConditionADDLOCAL=FeatureB/Condition 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 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 ConditionADDLOCAL=FeatureB/Condition 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 ConditionADDLOCAL=FeatureB/Condition 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