[WiX-users] [Wix-users] How can I kill process when uninstall

2011-03-31 Thread lxy.su...@gmail.com
Hi all

How can I achieve killing the process with the given name  when uninstall my
application. Is there something that Wix can support that feature?

Thanks!


-- 
天行健,君子以自强不息
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Wix-users] How can I kill process when uninstall

2011-03-31 Thread lxy.su...@gmail.com
Thanks for help from Peter, Rob Hamflett and Rob Mensching!

I have achieved detecting the process with "WixCloseApplications" and
killing the process by "taskkill".
But I still have an issue that when I try to uninstall it pops "FileInUse"
dialog. But the application it indicates has no relationship with my
application which is killed.
So I want to disable this dialog to avoid confusing.
Could anyone give me a help?

Any comment is appreciated!


2011/3/31 Rob Mensching 

> WiX v3.5 also shipped with the RestartApplication element that allows you
> to
> add more files to the Restart Manager (which gives the user the option to
> shut things down).
>
> On Thu, Mar 31, 2011 at 2:12 AM, Peter Shirtcliffe  >wrote:
>
> > Agreed, it doesn't look like it can kill them forcibly but there is an
> > option
> > to set a property when it can't so that the installer can abort or prompt
> > the
> > user if the application doesn't close. It depends on whether the user is
> in
> > danger of losing any work if you terminate the process. There is still
> the
> > Files In Use dialog as a second line of defence too (although I have once
> > seen a user ignore that and expect an uninstall to work without
> rebooting).
> >
> > -Original Message-
> > From: Rob Hamflett [mailto:r...@snsys.com]
> > Sent: 31 March 2011 09:59
> > To: wix-users@lists.sourceforge.net
> > Subject: Re: [WiX-users] [Wix-users] How can I kill process when
> uninstall
> >
> > Can CloseApplication kill processes though?  It doesn't look like it can.
> >  If
> > you need to forcibly
> > kill something you might need a custom action to run taskkill or some
> > custom
> > code that does the job.
> >
> > Rob
> >
> > On 31/03/2011 09:45, Peter Shirtcliffe wrote:
> > > Look at the CloseApplication element in the util schema in the Wix
> > > documentation.
> > >
> > > -Original Message-
> > > From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com]
> > > Sent: 31 March 2011 09:40
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: [WiX-users] [Wix-users] How can I kill process when uninstall
> > >
> > > Hi all
> > >
> > > How can I achieve killing the process with the given name  when
> uninstall
> > my
> > > application. Is there something that Wix can support that feature?
> > >
> > > Thanks!
> > >
> > >
> >
> >
> >
> >
> -
> > -
> > Create and publish websites with WebMatrix
> > Use the most popular FREE web apps or write code yourself;
> > WebMatrix provides all the features you need to develop and
> > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > SDL PLC confidential, all rights reserved.
> > If you are not the intended recipient of this mail SDL requests and
> > requires that you delete it without acting upon or copying any of its
> > contents, and we further request that you advise us.
> > SDL PLC is a public limited company registered in England and Wales.
> >  Registered number: 02675207.
> > Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
> SL6
> > 7DY, UK.
> >
> >
> >
> >
> --
> > Create and publish websites with WebMatrix
> > Use the most popular FREE web apps or write code yourself;
> > WebMatrix provides all the features you need to develop and
> > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> --
> Create and publish websites with WebMatrix
> Use the most popular FREE web apps or write code yourself;
> WebMatrix provides all the features you need to develop and
> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
天行健,君子以自强不息
--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Wix-users] How can I kill process when uninstall

2011-04-06 Thread lxy.su...@gmail.com
Thanks Rob!

After discussing with our product architecture it's acceptable to have this
FileInUse dialog though it's weird.

I also wander how to add the option into that Dialog because I only refer
that Dialog to my wxs but cannot modify the definition.





> I'm not sure that this will actually help your situation, but to answer
> your question about
> suppressing the FilesInUse dialog, add these values to the dialog
> definition:
> Dialog@Modeless="yes"
> Dialog@Hidden="yes"
>
> Rob
>
> On 01/04/2011 08:29, sunny wrote:
> >
> > Yes I am deploying an application with Qt dlls which are put in my
> install
> > folder.
> > When I test with running my application and uninstall, the process is
> killed
> > and the FilesInUse is triggered. But it indicates to close my "Qt
> Assistant"
> > which is launched before my test.
> >
> > I put down the log it says the "Qt Assistant" holds some Qt dll from my
> > install folder. That's strange!
> >
> > Info 1603. The file C:\MyApplicationFolder\phonon4.dll is being held in
> use
> > by the following process: Name: assistant, Id: 6820, Window Title: '(not
> > determined yet)'.  Close that application and retry.
> > 
> >
> >
> >
> > Rob Hamflett wrote:
> >>
> >> Are you deploying the C runtime, or something similar?  That can
> sometimes
> >> cause that issue.  If you
> >> skip the FilesInUse dialog you'll probably get prompted for a reboot,
> >> which is probably more of a pain.
> >>
> >> Rob
> >>
> >> On 01/04/2011 06:45, lxy.su...@gmail.com wrote:
> >>> Thanks for help from Peter, Rob Hamflett and Rob Mensching!
> >>>
> >>> I have achieved detecting the process with "WixCloseApplications" and
> >>> killing the process by "taskkill".
> >>> But I still have an issue that when I try to uninstall it pops
> >>> "FileInUse"
> >>> dialog. But the application it indicates has no relationship with my
> >>> application which is killed.
> >>> So I want to disable this dialog to avoid confusing.
> >>> Could anyone give me a help?
> >>>
> >>> Any comment is appreciated!
> >>>
> >>>
> >>> 2011/3/31 Rob Mensching<r...@robmensching.com>
> >>>
> >>>> WiX v3.5 also shipped with the RestartApplication element that allows
> >>>> you
> >>>> to
> >>>> add more files to the Restart Manager (which gives the user the option
> >>>> to
> >>>> shut things down).
> >>>>
> >>>> On Thu, Mar 31, 2011 at 2:12 AM, Peter
> >>>> Shirtcliffe<pshirtcli...@sdl.com
> >> >>>  wrote:
> >>>>
> >>>>> Agreed, it doesn't look like it can kill them forcibly but there is
> an
> >>>>> option
> >>>>> to set a property when it can't so that the installer can abort or
> >>>>> prompt
> >>>>> the
> >>>>> user if the application doesn't close. It depends on whether the user
> >>>>> is
> >>>> in
> >>>>> danger of losing any work if you terminate the process. There is
> still
> >>>> the
> >>>>> Files In Use dialog as a second line of defence too (although I have
> >>>>> once
> >>>>> seen a user ignore that and expect an uninstall to work without
> >>>> rebooting).
> >>>>>
> >>>>> -Original Message-
> >>>>> From: Rob Hamflett [mailto:r...@snsys.com]
> >>>>> Sent: 31 March 2011 09:59
> >>>>> To: wix-users@lists.sourceforge.net
> >>>>> Subject: Re: [WiX-users] [Wix-users] How can I kill process when
> >>>> uninstall
> >>>>>
> >>>>> Can CloseApplication kill processes though?  It doesn't look like it
> >>>>> can.
> >>>>>If
> >>>>> you need to forcibly
> >>>>> kill something you might need a custom action to run taskkill or some
> >>>>> custom
> >>>>> code that does the job.
> >>>>>
> >>>>> Rob
> >>>>>
> >>>>> On 31/03/2011 09:45, Peter Shirtcliffe wrote:
> >>>>>> Look at the CloseApplication elemen

Re: [WiX-users] [Wix-users] How can I kill process when uninstall

2011-04-06 Thread lxy.su...@gmail.com
Good idea!

Regards!

Sunny

2011/4/6 Rob Hamflett 

> You could run dark on your MSI and copy the dialog out of it.
>
> Rob
>
> On 06/04/2011 08:06, lxy.su...@gmail.com wrote:
> > Thanks Rob!
> >
> > After discussing with our product architecture it's acceptable to have
> this
> > FileInUse dialog though it's weird.
> >
> > I also wander how to add the option into that Dialog because I only refer
> > that Dialog to my wxs but cannot modify the definition.
> >
> > 
> > 
> >  >
> > If that has lots of work to do, I will leave it as it is.
> >
> > Thank all of you for your kindly helps!
> >
> > Sunny
> >
> > 2011/4/1 Rob Hamflett
> >
> >> I'm not sure that this will actually help your situation, but to answer
> >> your question about
> >> suppressing the FilesInUse dialog, add these values to the dialog
> >> definition:
> >> Dialog@Modeless="yes"
> >> Dialog@Hidden="yes"
> >>
> >> Rob
> >>
> >> On 01/04/2011 08:29, sunny wrote:
> >>>
> >>> Yes I am deploying an application with Qt dlls which are put in my
> >> install
> >>> folder.
> >>> When I test with running my application and uninstall, the process is
> >> killed
> >>> and the FilesInUse is triggered. But it indicates to close my "Qt
> >> Assistant"
> >>> which is launched before my test.
> >>>
> >>> I put down the log it says the "Qt Assistant" holds some Qt dll from my
> >>> install folder. That's strange!
> >>>
> >>> Info 1603. The file C:\MyApplicationFolder\phonon4.dll is being held in
> >> use
> >>> by the following process: Name: assistant, Id: 6820, Window Title:
> '(not
> >>> determined yet)'.  Close that application and retry.
> >>> 
> >>>
> >>>
> >>>
> >>> Rob Hamflett wrote:
> >>>>
> >>>> Are you deploying the C runtime, or something similar?  That can
> >> sometimes
> >>>> cause that issue.  If you
> >>>> skip the FilesInUse dialog you'll probably get prompted for a reboot,
> >>>> which is probably more of a pain.
> >>>>
> >>>> Rob
> >>>>
> >>>> On 01/04/2011 06:45, lxy.su...@gmail.com wrote:
> >>>>> Thanks for help from Peter, Rob Hamflett and Rob Mensching!
> >>>>>
> >>>>> I have achieved detecting the process with "WixCloseApplications" and
> >>>>> killing the process by "taskkill".
> >>>>> But I still have an issue that when I try to uninstall it pops
> >>>>> "FileInUse"
> >>>>> dialog. But the application it indicates has no relationship with my
> >>>>> application which is killed.
> >>>>> So I want to disable this dialog to avoid confusing.
> >>>>> Could anyone give me a help?
> >>>>>
> >>>>> Any comment is appreciated!
> >>>>>
> >>>>>
> >>>>> 2011/3/31 Rob Mensching<r...@robmensching.com>
> >>>>>
> >>>>>> WiX v3.5 also shipped with the RestartApplication element that
> allows
> >>>>>> you
> >>>>>> to
> >>>>>> add more files to the Restart Manager (which gives the user the
> option
> >>>>>> to
> >>>>>> shut things down).
> >>>>>>
> >>>>>> On Thu, Mar 31, 2011 at 2:12 AM, Peter
> >>>>>> Shirtcliffe<pshirtcli...@sdl.com
> >>>> >>>   wrote:
> >>>>>>
> >>>>>>> Agreed, it doesn't look like it can kill them forcibly but there is
> >> an
> >>>>>>> option
> >>>>>>> to set a property when it can't so that the installer can abort or
> >>>>>>> prompt
> >>>>>>> the
> >>>>>>> user if the application doesn't close. It depends on whether the
> user
> >>>>>>> is
> >>>>>> in
> >>>>>>> danger of losing any work if you terminate the process. There is
> >> still
> &g

[WiX-users] [Multiple- languanges support] Combox and TRANSFORMS issues

2010-10-21 Thread lxy.su...@gmail.com
Hi,
I am a new commer of Wix and now I am trying to use a ComBox to support
multiple languages when displaying the installer wizard.
The value user choose can be passed to the property I set, but the issues is
that how can I change the public property -TRANSFORMS to the .mst file I
just choose?

Is anyone have a better solution to do that?

Thanks!
Ps, I have already embeded the mst file into the msi, and the combox samples
are as follows:

*<**ComboBox Property="*TRANSFORMS *"**>*

*<**ListItem Text="English" Value=":en-us.mst" />*
**

**

*<**ListItem Text="Japanese" Value="jp-jp.mst"** />*

**
**



*<**Control Id="LanguageChooseComboBox" Type="ComboBox" X="52" Y="48" Width=
"156" Height="10" ComboList="yes" Property="***TRANSFORMS ***" Sorted="no"
RightToLeft="yes"**>*

*<**Text>English*

**


-- 
天行健,君子以自强不息
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Multiple- languanges support] Combox and TRANSFORMSissues

2010-10-21 Thread lxy.su...@gmail.com
Hi David

Thanks very much for your help. I agree with you that is the reason and it
seems only the bootstrap can resolve it.
I will try your script later.

Regards!



2010/10/21 David Amey 

> Hi,
>
> I struggled with this concept a month back when I first started.
>
> You would want to use a bootstrapping tool (I use autoit) in order to apply
> the transform to the installer, instead of having a dialog within wix. As
> the transform happens at the launch of the msi.
> Below is some example code that you can compile in autoit, which I have
> created for this very purpose:
>
> 
> #cs
> 
>
>  AutoIt Version: 3.3.6.1
>  Author: David Amey
>
>  Script Function:
>language selector utility to apply transform to msi, and add lcid
> value in registry.
>
> #ce
> 
>
> ; Script Start - Add your code below here
>
> #include 
> #include 
>
> Opt('MustDeclareVars',1)
>
> Global $productName = "Enter a name here"
> Global $install, $cancel, $lang, $selected
>
> languageSelector()
>
> Func languageSelector()
>
>Local $msg
>GUICreate($productName,300, 110)
>;textBox
>GUICtrlCreateLabel("Please select the language you would like to
> install",10,10)
>;combo box
>$lang = GUICtrlCreateCombo("",15,40,180)
>;the "|" character enables you to list the languages in the combo
> box. the third element is the default selection for the combo box
>GUICtrlSetData(-1,"English - UK|English -
> US|French|Italian","English - US")
>;install button
>$install = GUICtrlCreateButton("Install",180,80,50)
>;cancel button
>$cancel = GUICtrlCreateButton("Cancel",240,80,50)
>
>GUISetState(@SW_SHOW)
>
>While 1
>$msg = GUIGetMsg()
>
>Select
>Case $msg = $GUI_EVENT_CLOSE
>Exit
>Case $msg = $install
>$selected = GUICtrlRead($lang)
>lcid()
>Exit
>Case $msg = $cancel
>Exit
>EndSelect
>WEnd
>GUIDelete()
> EndFunc
>
> ;translates selected language into correct lcid value which is stored in
> registry (you may need as well)
> Func lcid()
>;there is prob a better way to do this translation process,
>Local $code
>;dont currently have en-gb.mst
>If $selected = "English - UK" Then
>$selected = "2057"
>$code = "en-gb"
>ElseIf $selected = "English - US" Then
>$selected = "1033"
>ElseIf $selected = "French" Then
>$selected = "1036"
>$code = "fr-fr"
>ElseIf $selected = "Italian" Then
>$selected = "1040"
>$code = "it-it"
>EndIf
>
>;enters the lcid value in the registry.
>
>  
> RegWrite("HKEY_CURRENT_USER\Software\YourInstaller","lcid","REG_SZ",$selected)
>;--if the selected language isn’t us English then it will apply a
> transform, if not, then it won't need a transform applied to it.
>if $selected <> "1033" Then
>RunWait('msiexec TRANSFORMS="' & @ScriptDir &
> '\'&$code&'.MST" /i"' & @ScriptDir & '\YourInstaller.msi"')
>Else
>ShellExecute(@ScriptDir & '\YourInstaller.msi')
>EndIf
>
> EndFunc
> - end of code
>
> Hope this helps.
>
> Dave
>
> -Original Message-
> From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com]
> Sent: 21 October 2010 10:07
> To: WiX-users@lists.sourceforge.net
> Subject: [WiX-users] [Multiple- languanges support] Combox and
> TRANSFORMSissues
>
> Hi,
> I am a new commer of Wix and now I am trying to use a ComBox to support
> multiple languages when displaying the installer wizard.
> The value user choose can be passed to the property I set, but the issues
> is that how can I change the public property -TRANSFORMS to the .mst file I
> just choose?
&g

[WiX-users] HTML License support issues

2010-11-24 Thread lxy.su...@gmail.com
Hi, all

I want to show HTML format License(both in local or on web) in my dialog,
but I cannot find any control type can support HTML widget. So I have some
questions about this requirement.

1> Does Wix support HTML widget in Control to show a HTML format EULA.
2> If not, how can I define my own widget to show  HTML License.
3> Or how can I achieve that in other way.

Any help is thankful!


-- 
天行健,君子以自强不息
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] [Wix-users] Square brackets issue in localfile URL

2010-12-26 Thread lxy.su...@gmail.com
Hi Wix-users:

I am struggling in an issue that I try to launch the installed application
but if the application name contains "[]", for example "[a].exe" the
executable file cannot be launched when I use the custom action.
If the application doesn't contains "[]", it's OK.


Some samples are as follows:

MyAppName=..\App\[a].exe

[code]


  

  


[/code]

[code]
...
 
...
1
WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and
NOT Installed

Thanks a lot!

[/code]

-- 
天行健,君子以自强不息
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Wix-users] Square brackets issue in localfile URL

2010-12-26 Thread lxy.su...@gmail.com
Thanks for your reply!

I try it and I get an error:

error LGHT0204 : ICE03: Invalid format string; Table: ControlEvent, Column:
Argument, Key(s): ExitDialog.Finish.[WixShellExecTarget].[\[#a.exe\]].1


Thanks!


2010/12/27 Sean Farrow 

> Hi:
> You should be able to get around this by escaping the brackets i.e:
>  Value="[\[#a.exe\]]" Order="1">1
> Hth.
> Sean.
>
> -Original Message-
> From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com]
> Sent: 27 December 2010 02:57
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] [Wix-users] Square brackets issue in localfile URL
>
> Hi Wix-users:
>
> I am struggling in an issue that I try to launch the installed application
> but if the application name contains "[]", for example "[a].exe" the
> executable file cannot be launched when I use the custom action.
> If the application doesn't contains "[]", it's OK.
>
>
> Some samples are as follows:
>
> MyAppName=..\App\[a].exe
>
> [code]
> 
> 
>  
> Source="$(var.MyDir)\$(var.MyAppName)" />
>  
>
> 
> [/code]
>
> [code]
> ...
>   DllEntry="WixShellExec" Impersonate="yes" />
> ...
>  Value="[#a.exe]" Order="1">1
>  Value="LaunchApplication" Order="2">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1
> and
> NOT Installed
>
> Thanks a lot!
> 
> [/code]
>
> --
> 天行健,君子以自强不息
>
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
天行健,君子以自强不息
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Wix-users] Square brackets issue in localfile URL

2010-12-27 Thread lxy.su...@gmail.com
Hi Sean

Thanks very much for your help.

Now it works well by just modifying a lot the example you gave like this.

1

Regards!

2010/12/27 Sean Farrow 

> Hi:
> Sorry, my fault, try:
>  Value="[\[]#a[\].exe]" Order="1">1
> If this doesn't work, see:
> http://msdn.microsoft.com/en-us/library/aa368609%28VS.85%29.aspx
>
> Hth.
>
> -Original Message-
> From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com]
> Sent: 27 December 2010 07:06
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] [Wix-users] Square brackets issue in localfile URL
>
> Thanks for your reply!
>
> I try it and I get an error:
>
> error LGHT0204 : ICE03: Invalid format string; Table: ControlEvent, Column:
> Argument, Key(s): ExitDialog.Finish.[WixShellExecTarget].[\[#a.exe\]].1
>
>
> Thanks!
>
>
> 2010/12/27 Sean Farrow 
>
> > Hi:
> > You should be able to get around this by escaping the brackets i.e:
> >  Property="WixShellExecTarget"
> > Value="[\[#a.exe\]]" Order="1">1
> > Hth.
> > Sean.
> >
> > -Original Message-
> > From: lxy.su...@gmail.com [mailto:lxy.su...@gmail.com]
> > Sent: 27 December 2010 02:57
> > To: General discussion for Windows Installer XML toolset.
> > Subject: [WiX-users] [Wix-users] Square brackets issue in localfile URL
> >
> > Hi Wix-users:
> >
> > I am struggling in an issue that I try to launch the installed
> application
> > but if the application name contains "[]", for example "[a].exe" the
> > executable file cannot be launched when I use the custom action.
> > If the application doesn't contains "[]", it's OK.
> >
> >
> > Some samples are as follows:
> >
> > MyAppName=..\App\[a].exe
> >
> > [code]
> > 
> > 
> >  
> > > Source="$(var.MyDir)\$(var.MyAppName)" />
> >  
> >
> > 
> > [/code]
> >
> > [code]
> > ...
> >   > DllEntry="WixShellExec" Impersonate="yes" />
> > ...
> >  Property="WixShellExecTarget"
> > Value="[#a.exe]" Order="1">1
> >  > Value="LaunchApplication" Order="2">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1
> > and
> > NOT Installed
> >
> > Thanks a lot!
> > 
> > [/code]
> >
> > --
> > 天行健,君子以自强不息
> >
> >
> --
> > Learn how Oracle Real Application Clusters (RAC) One Node allows
> customers
> > to consolidate database storage, standardize their database environment,
> > and,
> > should the need arise, upgrade to a full multi-node Oracle RAC database
> > without downtime or disruption
> > http://p.sf.net/sfu/oracle-sfdevnl
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
> --
> > Learn how Oracle Real Application Clusters (RAC) One Node allows
> customers
> > to consolidate database storage, standardize their database environment,
> > and,
> > should the need arise, upgrade to a full multi-node Oracle RAC database
> > without downtime or disruption
> > http://p.sf.net/sfu/oracle-sfdevnl
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
>
> --
> 天行健,君子以自强不息
>
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
天行健,君子以自强不息
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users