Re: [WiX-users] CA only during Repair
Maybe you can try to change the condition statement to: Installed AND NOT REMOVE="ALL" which means the precondition is "installed already" and "not in remove mode". > Date: Wed, 2 Apr 2008 08:44:14 -0700> From: [EMAIL PROTECTED]> To: > wix-users@lists.sourceforge.net> Subject: [WiX-users] CA only during Repair> > > > How do i change the following CA to run only as part of the repair?> > > Id="LaunchSystrayExeRepair" > Directory="INSTALLDIR" > > ExeCommand="[INSTALLDIR]systray.exe"> Return="check" Execute="deferred" />> > > > > .> Action='LaunchSystrayExeRepair'> Before='InstallFinalize'>Installed> > > > > When i uninstall after repair,MSI > throws a files in use dialog for the> service running, and the uninstall fail > and get rolled back> > Any clue on what's going wrong here?> -- > View this > message in context: > http://www.nabble.com/CA-only-during-Repair-tp16447318p16447318.html> Sent > from the wix-users mailing list archive at Nabble.com.> > > > -> > Check out the new SourceForge.net Marke tplace.> It's the best place to buy or sell services for> just about anything Open Source.> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace> ___> WiX-users mailing list> WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] how to make my Custom Action run on initial-setup, repair but not remove?
I know this should not be a complicated problem but i am not proficient in Conditions settting. The following is myThings: Not REMOVE="ALL" The result is myAction can run well in Setup and Repair, but meet an "end up prematually" problem in Remove. In fact, i don't want myAction run in Remove at all. So, how should i realize the condition? (I think i should not only change the condition text, but also the "After executeAction" thing, right? but i've no idea how to do.) Thanks! _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to realize the Back button in VerifyReadyDlg?
Thanks. I know where the problem is. is the prerequisite to line 7's success, but i miss it. NOT Installed AND WixUI_Mode = "InstallDir" is defined in VerifyReadyDlg.wxs of course, the version i use is V2. Thanks. Date: Sun, 30 Mar 2008 12:57:32 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [WiX-users] How to realize the Back button in VerifyReadyDlg? Xu nanxuan wrote: 567There are a bunch of different properties for that button. Likely the one being triggered isn't WixUI_VerifyReadyDlg_BackInstallDir. Take a look at the different values in src\ui\wixui\VerifyReadyDlg.wxs.-- sig://boB http://joyofsetup.com/ _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to realize the Back button in VerifyReadyDlg?
Thanks. Yes, I'm using WixUI. v2. But as if properties work. 1 2 3 4 5 6 7 8 9 10 11 12 13 141 15 16 17 18 19 201 21 22 line 3~line 11 do work except line 7. i.e. i can not move back to myDlg from VerifyReadyDlg through the Back button on the VerifyReadyDlg. (but i can move back to WelcomeDlg from myDlg through the Back button on myDlg). Date: Sat, 29 Mar 2008 13:26:29 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Re: [WiX-users] How to realize the Back button in VerifyReadyDlg? Xu nanxuan wrote: Thanks. In fact, the "Property" does work, Things are like the following:if i want to the following sequence: myDlg->VerifyReadyDlg, the following things work: but i don't know why i can't make the back button of VerifyReadyDlg run through the same method.You need to provide more information before anyone can help. Are you using WixUI? If so, which version? WixUI v2 used properties but WixUI v3 uses bind-time WiX variables, so properties don't work. See http://www.joyofsetup.com/2008/01/02/wixui-extensibility/ and http://www.wixwiki.com/index.php?title=WixUI_Custom.-- sig://boB http://joyofsetup.com/ _ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to realize the Back button in VerifyReadyDlg?
Thanks. In fact, the "Property" does work, Things are like the following: if i want to the following sequence: myDlg->VerifyReadyDlg, the following things work: but i don't know why i can't make the back button of VerifyReadyDlg run through the same method.> Date: Thu, 27 Mar 2008 05:32:29 -0700> From: [EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] How to realize the Back button in VerifyReadyDlg?> > > > > Xu nanxuan wrote:> > > > > > For example, I need the following sequence: WelcomeDlg --> VerifyReadyDlg.> > But i've no idea how to realize the Back button in the latter dlg so that> > i can move back from VerifyReadyDlg during installation. I've tried the> > following methods but none work:> > > > > > > > > > > > > > Hi Xu,> > I'm not sure if is working> If you are using one of Wix stock dialog sets like WixUI_FeatureTree you can> overwrite the element as stated in CHM ( Advanced WiX Topics ->> Using the WixUI Dialog Library -> on the very end): > e.g. Value="WelcomeDlg">1> > The Publish sequences are defined in WixUI_* files in> wix3-sources\src\ext\UIExtension\wixlib > > hth> > Dominik> -- > View this message in context: http://www.nabble.com/How-to-realize-the-Back-button-in-VerifyReadyDlg--tp16323218p16324613.html> Sent from the wix-users mailing list archive at Nabble.com.> > > -> Check out the new SourceForge.net Marketplace.> It's the best place to buy or sell services for> just about anything Open Source.> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace> ___> WiX-users mailing list> WiX-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/wix-users _ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to realize the Back button in VerifyReadyDlg?
For example, I need the following sequence: WelcomeDlg --> VerifyReadyDlg. But i've no idea how to realize the Back button in the latter dlg so that i can move back from VerifyReadyDlg during installation. I've tried the following methods but none work: Fact is i can click the Back btn in the VerifyReadyDlg, but nothing happens. So any suggestions? Thanks! _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] what is the difference between "" and "1"
Thanks.Btw: what do "Not Installed" and "Installed", which are also located in the middle of <>, mean? _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline- 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
[WiX-users] what is the difference between "" and "1"
I've no idea what the "1" located in the middle means? And based on this, i came across a phenomenon: when i write , the msi can work as i expected, but it will run into "end prematurely" problem when removed (here i mean "remove" rather than "uninstall", if i uninstall it, say, from control panel, it will work correctly); however, when i write 1, all the jobs can work well, no "premature" things occur. So is there anyone give an explanation about that? Thanks! _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline- 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
[WiX-users] How can i make a line feed if the dialog title is too long?
i have a long product name. When the stock dialog appears, the dialog title can not be shown completely. how can i make a line feed? BTW: it's strange that i have a custom dialog whose dialog title is also very long, but it can be shown in two lines automatically, and i didn't make any specific configuration to that, except the following: Any suggestions? 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
Re: [WiX-users] Is there a way to use my own bitmap?
I think i've got it. From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Sat, 15 Mar 2008 16:40:01 +0800Subject: [WiX-users] Is there a way to use my own bitmap? 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 "" 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! MSN Messenger _ 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
[WiX-users] Is there a way to use my own bitmap?
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 "" 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
Re: [WiX-users] Why VS2005 with Votive failed to compile new Wix project?
Thanks, it works. But another question. After starting a new Wix Project in VS, everytime I add somelines involving a stock dialog, say (just e.g.): 1 system will report error like: Error 5 ICE17: Bitmap: 'WixUI_Bmp_Dialog' for Control: 'Bitmap' of Dialog: 'WelcomeDlg' not found in Binary table C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeDlg.wxs 13 1 WixProject3... Error 7 ICE17: Icon: 'WixUI_Ico_Info' for Control: 'Icon' of Dialog: 'CancelDlg' not found in Binary table C:\delivery\Dev\wix\src\ext\uiextension\wixlib\CancelDlg.wxs 16 1 WixProject3 ... BTW1: I've added the followings to MyWixProject.winproj file: BTW2: what is the path "C:\delivery\Dev\wix\src\ext\uiextension\wixlib\CancelDlg.wxs"? I can not find it in my box. I'm think I ignore some settings, but what are those? Thanks Date: Tue, 4 Mar 2008 21:12:50 -0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [WiX-users] Why VS2005 with Votive failed to compile new Wix project? Xu nanxuan wrote: "Error 4 The localization variable !(loc.WixUINext) is unknown. Please ensure the variable is defined. C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeDlg.wxs 9 1 WixProject3..WelcomeDlg.wxs".You need to specify Cultures (e.g., of en-us for US English).-- sig://boB http://joyofsetup.com/ _ 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
[WiX-users] Questions about the msi Administration issues
I can install a file in some folders on target machine, but failed to other folders. I know different folds have different access levels. But how can i have my .msi have the most advantage access level so that i can install file to any target folder? 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
[WiX-users] Question about custom action-Different behaviors in different OS?
In my custom Wix, I have a custom action aiming at a dllentry (the dll is written in C++ in VS 2005). All of this works fine on my vista 64bit; but when I move the msi file to longhorn 64bit, it doesn't work correctly (the result is premature setup, and i can still find it in control panel). I guess something wrong with dll, because i've tried removing the dll part of the msi, which can make the "new" msi work correctly in longhorn. So, any suggestions? 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
Re: [WiX-users] How to use RemoveFile and CopyFile?
Thanks, But i've no idea how to do that. I want srcFile1 to be installed at D:\Dir1, and srcFile2 to be installed at D:\Dir2 to the target machine. But there's only one TARGETDIR aiming at C:\. So how to do that? I mean i don't know the Wix grammer of that.Ballack Michel> To: wix-users@lists.sourceforge.net> From: [EMAIL PROTECTED]> Date: Tue, 4 Mar 2008 13:36:44 +> Subject: Re: [WiX-users] How to use RemoveFile and CopyFile?> > Instead of installing a file you don't want, copying it to where you do want it, and then removing> the original, why don't you just install the file to where you want it in the first place?> > Rob> > Xu nanxuan wrote:> > 1 > > > 2 > > > > 3 > DestinationProperty="T1"/>> > 4 > > > > 5 > > > > Question 1:> > > > Is it possible to just CopyFile without installing file? I mean can i > > remove Line 2? I've tried the following, but it f ails> > > DestinationProperty="T1"/>> > > > Question 2:> > > > I use RemoveFile because n1.txt in Line 1 is useless to my > > customization. But Line 4 didn't work. I mean n1.txt is still there > > until executing uninstall. So, how to remove n1.txt just after installation?> > > > Thanks!> > > > > > Express yourself instantly with MSN Messenger! MSN Messenger > > <http://clk.atdmt.com/AVE/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> > _ 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
[WiX-users] How to use RemoveFile and CopyFile?
1 3 4 5 Question 1: Is it possible to just CopyFile without installing file? I mean can i remove Line 2? I've tried the following, but it fails Question 2: I use RemoveFile because n1.txt in Line 1 is useless to my customization. But Line 4 didn't work. I mean n1.txt is still there until executing uninstall. So, how to remove n1.txt just after installation? 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
Re: [WiX-users] how to retrieve the value from a "Edit"
I think I've got it. Thanks! Xu nanxuan wrote: I want to retrieve the value from an "Edit" Control Type, and then pass the retrieved string to a custom dll as a parameter to a function of that dll. How can i do that? Thanks!Controls set property values. You can't pass properties to custom actions but your custom action can use WcaGetProperty or MsiGetProperty to read them.-- sig://boB http://joyofsetup.com/ _ 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
[WiX-users] Why VS2005 with Votive failed to compile new Wix project?
After downloading a wix sample (with WixUiExtention), I can correctly compile it and generate the msi file. However, when i new a Wix project in VS2005, I cannot compile it when including some stock dialogs like "WelcomeDlg". Errors are: "Error 4 The localization variable !(loc.WixUINext) is unknown. Please ensure the variable is defined. C:\delivery\Dev\wix\src\ext\uiextension\wixlib\WelcomeDlg.wxs 9 1 WixProject3..WelcomeDlg.wxs". I have both Wix V3 and Votive V3 installed. How to solve that? 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
Re: [WiX-users] how to retrieve the value from a "Edit"
Thanks, But I'm still a little confused. Could you please give me some examples based on the followings: e.g 1. 3.in the myDll.ll file, things are like this: UINT _stdcall func(MSIHANDLE hInstaller) { string str; MessageBoxA(str); return ERROR_SUCCESS; } Then, how can I have func get the value of "Edit" in 1.? Thanks! Xu nanxuan wrote: I want to retrieve the value from an "Edit" Control Type, and then pass the retrieved string to a custom dll as a parameter to a function of that dll. How can i do that? Thanks!Controls set property values. You can't pass properties to custom actions but your custom action can use WcaGetProperty or MsiGetProperty to read them.-- sig://boB http://joyofsetup.com/ _ 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
[WiX-users] how to retrieve the value from a "Edit"
Hi, all: I want to retrieve the value from an "Edit" Control Type, and then pass the retrieved string to a custom dll as a parameter to a function of that dll. How can i do that? 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