Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread greenaj
I think there may be differences between having managed custom action support 
in Wix versus inventing your own way to launch a managed assembly.  Wix doesn't 
have to support managed CA's, you can do that yourself.  One could also write 
an extension for Wix (I would if I had the time).  

The unmanaged API for loading and manipulating .NET and App Domains gives you 
quite alot.

If your installed product needs a particular version of .NET installed to run, 
why not use some CA logic using that version of .NET to save time and cost?  I 
haved coded a lot of unmanaged C++ in my day but I am back to my analogy of 
moving a pile of sand with a small spoon (native) or with a wheelbarrow and 
shovel (managed).

It seems that the only serious potential for a conflic arises when launching a 
2.0 custom action on Windows Server 2003 and also needing to install assemblies 
in the GAC as Rob Mensching referenced something Carolyn Napier had said.  (If 
I have that correct)  So, if this is not a problem, then what is the issue?

I would want to see Windows Installer on Windows 2003 loading Framework 1.1 to 
install a 2.0 assembly verified.

Regards,
greenaj

 Brian Rogers [EMAIL PROTECTED] wrote: 
 Yes, this is only one of many things that would be a much needed and
 appreciated change. Installations are becoming much larger then the default
 of 32K files and overall size is causing installation for 1GB plus installs
 to take too long.
 
 From a previous email thread I wrote to the wix-user group (Need a custom
 action with UAC elevated privileges before InstallInitialize):
 
 *Why can't we write to a reserved location of the installed MSI database to
 keep our configuration changes on the machine instead of going nuts on the
 registry? Why, after all these years, do they still not support COM+, XML,
 IIS or invoking COM (MS has or makes the technology for all of these). Why
 can't we have better UI? Why isn't there an easy way to do data manipulation
 for text (string values)? How about some Regex? How about multiple codepages
 per package?
 *
 
 It is time for an overhaul...
 On Tue, Apr 29, 2008 at 7:45 PM, Christopher Painter [EMAIL PROTECTED]
 wrote:
 
  Provided they can get past their strategic decision, perhaps the MSI team
  should talk to the Silverlight team.  They seem to have addressed the
  tactical problems:
 
 
  http://blogs.msdn.com/jasonz/archive/2007/05/10/side-by-side-in-process-clrs-start-with-silverlight.aspx
 
  Regardless, there should be more then enough brain trust in Redmond to get
  past this and safely give developers what they clearly want.
 
  *Rob Mensching [EMAIL PROTECTED]* wrote:
 
  Note that in my blog entry (
  http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-no-support-on-the-way-and-heres.aspx)
  I explain the work that has to be done to work around the evil interaction
  between .NET Framework, GAC and Windows Installer. Every suggested
  implementation that I've seen on the internet that describes how to
  incorporate managed code custom actions into an MSI package does not address
  that problematic interaction.
 
  Personally, I continue to focus on creating CustomActions in native code so
  that WiX does not force all of you to have the .NET Framework installed
  before installing a package that uses one of the standard WiX CustomActions
  (which seems to be fairly common). I don't want to presume that everyone is
  building an application that has a dependency on the .NET Framework.
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Richard
  Sent: Tuesday, April 29, 2008 11:13
  To: WiX Users
  Subject: Re: [WiX-users] Managed custom actions in Wix 3
 
 
  In article [EMAIL PROTECTED],
  writes:
 
   I have head people preach dillegently about the evil of managed custom
  action
  s.
 
  The evil stems from the way .NET, the GAC, Windows and the MSI runtime
  interact. Its not the custom action per se, but the way that .NET
  code will be run in a process during install time.
 
  There is a reason that the experts are all unanimously saying that
  managed custom actions are a bad idea. You are free to ignore all
  that accumulated expertise but it doesn't seem like a wise thing to
  do.
  --
  The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
 
 
  Legalize Adulthood!
 
  -
  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
  Don't miss this year's exciting event. There's still time to save $100.
  Use priority code J8TL2D2.
 
  http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
  -
  This SF.net email is sponsored 

Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread Krause, Henning
Hi,

 I think there may be differences between having managed custom action
 support in Wix versus inventing your own way to launch a managed
 assembly.  Wix doesn't have to support managed CA's, you can do that
 yourself.  One could also write an extension for Wix (I would if I had
 the time).

Been there, done that:
http://www.infinitec.de/articles/development/wixmanagedcustomactionextension
.aspx

Needs to be recompiled to get it working with the latest WiX version.

Kind regards,
Henning Krause


smime.p7s
Description: S/MIME cryptographic signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Addin files in a transform

2008-04-30 Thread Stefan Pavlik
[EMAIL PROTECTED] wrote:
 I need to add a couple files using a transform to an already existing MSI 
 that contains all of its files in an embedded cabinet.  I understand that 
 I'll need to add the files to a new Feature that will contain new 
 Component(s) for the files.  
 
 I would like to keep the new files in a new embedded cabinet, but I 
 understand it might not be possible to add the new cabinet in the transform 
 to the _Streams table.  Must the cabinet file be external, or is their a way 
 to use the Binary table to embedd the files?
 
 TIA
 greenaj

The transformation file (MST) can change only the logic of the MSI 
package. It is not possible to change the cabinet file using the 
transform.

Of course you can add some files to Binary table (using transform) 
but you need to have separate custom action to extract the file from 
Binary table and copy it to desired place.
BIG disadvantage of such approach is that you need to create 
separate custom actions for installing, uninstalling, rollbacking 
the files 'installed' from Binary table.

Simple answer to your question is that it is not possible.

regards

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] $(var.StaticComponentsRoot)\..\..\a\b\c\aa.xml

2008-04-30 Thread Sebastian Brand
How built that wix code?

The $(var.StaticComponentsRoot) is a project wide variable which seems  
to be used a folder path.
So if the variable is C:\a\b then the file must be in C:\d\e\f because  
of two .. which point to the parent of the current folder...

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Apr 30, 2008, at 6:14 , shiri wrote:


 Hi,

 I am new to WIX, when am seeing the code of my project I encountered  
 it ,
 Please let me know what does it means.
 we have a tag like
 Binary Id=aa.xml
 SourceFile=$(var.StaticComponentsRoot)\..\..\d\e\f\aa.xml/

 what does it mean? where the file aa.xml  should be placed if I am  
 assigned
 StaticComponentsRoot=a\b\?


 regards,
 shiri
 -- 
 View this message in context: 
 http://www.nabble.com/%24%28var.StaticComponentsRoot%29%5C..%5C..%5Ca%5Cb%5Cc%5Caa.xml-tp16975382p16975382.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save  
 $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using !(loc.MYVAL) in if condition

2008-04-30 Thread Albert Shamsiyan
Hi,

Wondering if there's possibility to use !(loc.MYVAL) in if condition?

For example
?if !(loc.MYVAL)=1 ?
Do 
?endif ?
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Asking the user a yes/no question

2008-04-30 Thread Sebastian Brand
You will have to add a custom dialog with two buttons. There's no  
built in MessageBox.Show() or something similar.

Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com


On Apr 30, 2008, at 6:51 , Ben Greene wrote:

 Hi,

 I’ve been searching the archives trying to find out if I can do  
 this, but I can’t find out how I’d go about it.

 I would like to be able to pop up a message box, asking the user a  
 question, with ‘yes’ and ‘no’ buttons.

 If the user presses ‘Yes’, I would like a CustomAction to execute.

 Is this possible?

 Thanks
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save  
 $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Asking the user a yes/no question

2008-04-30 Thread Christopher Painter
When would you like the Modal dialog to appear?  If during the UI sequence,  
just create a Dialog with Yes and No controls and call it with a SpawnDialog 
ControlEvent.   From the Yes control's ControlEvent you can then call a 
DoAction ControlEvent to fire your CA.
   
  If not from the UI Sequence,  I don't really reccomend this since all user 
input should be collected up front.  Do the same thing as above only set a 
PUBLIC property ( and list it in SecureCustomProperties ) and then use that 
during the execute sequence to conditionally call your custom action(s) ( 
uninstall, install, rollback, commit )
  

Ben Greene [EMAIL PROTECTED] wrote:
Hi,
   
  I’ve been searching the archives trying to find out if I can do this, but I 
can’t find out how I’d go about it.
   
  I would like to be able to pop up a message box, asking the user a question, 
with ‘yes’ and ‘no’ buttons.
   
  If the user presses ‘Yes’, I would like a CustomAction to execute.
   
  Is this possible?
   
  Thanks

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread Christopher Painter
Sure, vendor specific `standard custom actions` should be native because not 
everyone using them use managed code.But that doesn't mean downlevel CA's 
created by users should be and the vendor tool should do what your talking 
about to assist.
   
  For the 2003 GAC issue,  IMO PublishAssemblies is broken anyways since it 
can't even get an assembly in place to use it to start a service that has a 
dependency on it.   For this reason I typically put those components in a 
seperate package and bootstrap it prior to my main MSI.   I don't concern 
myself with DLL Hell issues because that's what the GAC was designed for.  I 
also don't concern myself with uninstalling these assemblies since if MS can 
reccomend System32 be Perm then why not GAC be Perm?

  I also think the CLR version problem is overstated. Everywhere I work I see a 
bias towards .NET 2.0.  .NET 3.0 and 3.5 haven't updated the CLR.   So if 
everyone agrees to ship CA's targeting the .NET 2.0  until MSI supports 
multiple CLR's per process then that should be good enough.   
  
[EMAIL PROTECTED] wrote:
  I think there may be differences between having managed custom action support 
in Wix versus inventing your own way to launch a managed assembly. Wix doesn't 
have to support managed CA's, you can do that yourself. One could also write an 
extension for Wix (I would if I had the time). 

The unmanaged API for loading and manipulating .NET and App Domains gives you 
quite alot.

If your installed product needs a particular version of .NET installed to run, 
why not use some CA logic using that version of .NET to save time and cost? I 
haved coded a lot of unmanaged C++ in my day but I am back to my analogy of 
moving a pile of sand with a small spoon (native) or with a wheelbarrow and 
shovel (managed).

It seems that the only serious potential for a conflic arises when launching a 
2.0 custom action on Windows Server 2003 and also needing to install assemblies 
in the GAC as Rob Mensching referenced something Carolyn Napier had said. (If I 
have that correct) So, if this is not a problem, then what is the issue?

I would want to see Windows Installer on Windows 2003 loading Framework 1.1 to 
install a 2.0 assembly verified.

Regards,
greenaj

 Brian Rogers wrote: 
 Yes, this is only one of many things that would be a much needed and
 appreciated change. Installations are becoming much larger then the default
 of 32K files and overall size is causing installation for 1GB plus installs
 to take too long.
 
 From a previous email thread I wrote to the wix-user group (Need a custom
 action with UAC elevated privileges before InstallInitialize):
 
 *Why can't we write to a reserved location of the installed MSI database to
 keep our configuration changes on the machine instead of going nuts on the
 registry? Why, after all these years, do they still not support COM+, XML,
 IIS or invoking COM (MS has or makes the technology for all of these). Why
 can't we have better UI? Why isn't there an easy way to do data manipulation
 for text (string values)? How about some Regex? How about multiple codepages
 per package?
 *
 
 It is time for an overhaul...
 On Tue, Apr 29, 2008 at 7:45 PM, Christopher Painter 
 wrote:
 
  Provided they can get past their strategic decision, perhaps the MSI team
  should talk to the Silverlight team. They seem to have addressed the
  tactical problems:
 
 
  http://blogs.msdn.com/jasonz/archive/2007/05/10/side-by-side-in-process-clrs-start-with-silverlight.aspx
 
  Regardless, there should be more then enough brain trust in Redmond to get
  past this and safely give developers what they clearly want.
 
  *Rob Mensching * wrote:
 
  Note that in my blog entry (
  http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-no-support-on-the-way-and-heres.aspx)
  I explain the work that has to be done to work around the evil interaction
  between .NET Framework, GAC and Windows Installer. Every suggested
  implementation that I've seen on the internet that describes how to
  incorporate managed code custom actions into an MSI package does not address
  that problematic interaction.
 
  Personally, I continue to focus on creating CustomActions in native code so
  that WiX does not force all of you to have the .NET Framework installed
  before installing a package that uses one of the standard WiX CustomActions
  (which seems to be fairly common). I don't want to presume that everyone is
  building an application that has a dependency on the .NET Framework.
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Richard
  Sent: Tuesday, April 29, 2008 11:13
  To: WiX Users
  Subject: Re: [WiX-users] Managed custom actions in Wix 3
 
 
  In article [EMAIL PROTECTED],
  writes:
 
   I have head people preach dillegently about the evil of managed custom
  action
  s.
 
  The evil stems from the way .NET, the GAC, Windows and the MSI runtime
  interact. Its not 

Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread Rob Mensching
I read through that blog entry but I saw the comment about a cleaner approach 
is to call the custom action in a separate process.  I didn't look at the code 
but everything described in the blog entry talks about using a DLL hosted in 
the Custom Action Server to create an AppDomain and load the managed code.  
That will end up tattooing the Windows Installer Custom Action Server with 
the version of the .NET Framework your AppDomain was hosted by.  Then you can 
hit the GAC and load issues mentioned in my blog entry.

That's a partial solution.  It may work for your particular scenario but isn't 
something that should be considered applicable for general use.  The Windows 
Installer team has to look at the general use case and we try to do the same 
here on WiX.

Adding an extension was a very nice touch to make it easier to adopt though.  
It is very high on my list of things to complete, to make it that extensions 
don't have to always be recompiled to work with the latest WiX toolset (which 
hopefully would take care of that problem).

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krause, Henning
Sent: Tuesday, April 29, 2008 23:55
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Managed custom actions in Wix 3

Hi,

 I think there may be differences between having managed custom action
 support in Wix versus inventing your own way to launch a managed
 assembly.  Wix doesn't have to support managed CA's, you can do that
 yourself.  One could also write an extension for Wix (I would if I had
 the time).

Been there, done that:
http://www.infinitec.de/articles/development/wixmanagedcustomactionextension
.aspx

Needs to be recompiled to get it working with the latest WiX version.

Kind regards,
Henning Krause

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread Rob Mensching
Brian, all very good questions for the Windows Installer team.  smile/

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Rogers
Sent: Tuesday, April 29, 2008 21:33
To: Christopher Painter
Cc: WiX Users
Subject: Re: [WiX-users] Managed custom actions in Wix 3

Yes, this is only one of many things that would be a much needed and 
appreciated change. Installations are becoming much larger then the default of 
32K files and overall size is causing installation for 1GB plus installs to 
take too long.

From a previous email thread I wrote to the wix-user group (Need a custom 
action with UAC elevated privileges before InstallInitialize):

Why can't we write to a reserved location of the installed MSI database to 
keep our configuration changes on the machine instead of going nuts on the 
registry? Why, after all these years, do they still not support COM+, XML, IIS 
or invoking COM (MS has or makes the technology for all of these). Why can't we 
have better UI? Why isn't there an easy way to do data manipulation for text 
(string values)? How about some Regex? How about multiple codepages per 
package?

It is time for an overhaul...
On Tue, Apr 29, 2008 at 7:45 PM, Christopher Painter [EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Provided they can get past their strategic decision, perhaps the MSI team 
should talk to the Silverlight team.  They seem to have addressed the tactical 
problems:

http://blogs.msdn.com/jasonz/archive/2007/05/10/side-by-side-in-process-clrs-start-with-silverlight.aspx

Regardless, there should be more then enough brain trust in Redmond to get past 
this and safely give developers what they clearly want.

Rob Mensching [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote:
Note that in my blog entry 
(http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-no-support-on-the-way-and-heres.aspx)
 I explain the work that has to be done to work around the evil interaction 
between .NET Framework, GAC and Windows Installer. Every suggested 
implementation that I've seen on the internet that describes how to incorporate 
managed code custom actions into an MSI package does not address that 
problematic interaction.

Personally, I continue to focus on creating CustomActions in native code so 
that WiX does not force all of you to have the .NET Framework installed before 
installing a package that uses one of the standard WiX CustomActions (which 
seems to be fairly common). I don't want to presume that everyone is building 
an application that has a dependency on the .NET Framework.


-Original Message-
From: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] [mailto:[EMAIL 
PROTECTED]mailto:[EMAIL PROTECTED]] On Behalf Of Richard
Sent: Tuesday, April 29, 2008 11:13
To: WiX Users
Subject: Re: [WiX-users] Managed custom actions in Wix 3


In article [EMAIL PROTECTED],
writes:

 I have head people preach dillegently about the evil of managed custom action
s.

The evil stems from the way .NET, the GAC, Windows and the MSI runtime
interact. Its not the custom action per se, but the way that .NET
code will be run in a process during install time.

There is a reason that the experts are all unanimously saying that
managed custom actions are a bad idea. You are free to ignore all
that accumulated expertise but it doesn't seem like a wise thing to
do.
--
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download


Legalize Adulthood!

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it 
now.http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.

Re: [WiX-users] Using !(loc.MYVAL) in if condition

2008-04-30 Thread Rob Mensching
No, loc is processed at Bind time and that condition is evaluated at Preprocess 
time.  Order of operations:

1.  Preprocess
2.  Compile
3.  Link
4.  Bind

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Albert Shamsiyan
Sent: Wednesday, April 30, 2008 03:14
To: Wix-Community (wix-users@lists.sourceforge.net)
Cc: Albert Shamsiyan
Subject: [WiX-users] Using !(loc.MYVAL) in if condition

Hi,

Wondering if there's possibility to use !(loc.MYVAL) in if condition?

For example
?if !(loc.MYVAL)=1 ?
Do 
?endif ?
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed custom actions in Wix 3

2008-04-30 Thread Krause, Henning
Hi Rob,

 I read through that blog entry but I saw the comment about a cleaner
 approach is to call the custom action in a separate process.  I didn't
 look at the code but everything described in the blog entry talks about
 using a DLL hosted in the Custom Action Server to create an AppDomain
 and load the managed code.  That will end up tattooing the Windows
 Installer Custom Action Server with the version of the .NET Framework
 your AppDomain was hosted by.  Then you can hit the GAC and load issues
 mentioned in my blog entry.

Yes you are right here. My C++ skills are not good enough to implement this
solution. But since all the stuff in that entry is full open source - maybe
someone jumps on the train and implements some sort of IPC for that. I could
certainly do the part on the managed side...

Kind regards,
Henning Krause


smime.p7s
Description: S/MIME cryptographic signature
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Survey Job Opportunity Available

2008-04-30 Thread Rexanne Overstreet
Hi,

Our online market research organization starts recruiting self-motivated and
reliable individuals willing to take part in well-paying research conducted
by leading international businesses. Your opinion as a consumer is important
for the success and profitability of many business ventures. That is why
they are ready to pay for what you think.

Our members are paid for participating in online surveys, focus group
discussions, and product/service evaluations. What's best, all you need to
work with us is a computer, an Internet connection, and will to voice your
honest opinion. 

We'd like to hear from you soon if you want to become one of our highly
valued survey takers. 

Please reply to [EMAIL PROTECTED]

Best regards,
Stephanie Cunningham
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Addin files in a transform

2008-04-30 Thread greenaj
Thanks, but I did managed to add the files by having them in another cabinet 
file, so that they are installed as files within Installer Components.

It works, but the cab files must not be inside the original package.  These 
files are added to a new Feature, Components, And Files within the MST file.  
As I understand, _Streams can not be modified.  

Having the CAB in the same folder as the MSI and MST is acceptable.

Regards,
Aris J. Green
 Stefan Pavlik [EMAIL PROTECTED] wrote: 
 [EMAIL PROTECTED] wrote:
  I need to add a couple files using a transform to an already existing MSI 
  that contains all of its files in an embedded cabinet.  I understand that 
  I'll need to add the files to a new Feature that will contain new 
  Component(s) for the files.  
  
  I would like to keep the new files in a new embedded cabinet, but I 
  understand it might not be possible to add the new cabinet in the transform 
  to the _Streams table.  Must the cabinet file be external, or is their a 
  way to use the Binary table to embedd the files?
  
  TIA
  greenaj
 
 The transformation file (MST) can change only the logic of the MSI 
 package. It is not possible to change the cabinet file using the 
 transform.
 
 Of course you can add some files to Binary table (using transform) 
 but you need to have separate custom action to extract the file from 
 Binary table and copy it to desired place.
 BIG disadvantage of such approach is that you need to create 
 separate custom actions for installing, uninstalling, rollbacking 
 the files 'installed' from Binary table.
 
 Simple answer to your question is that it is not possible.
 
 regards
 
 Stefan
 
 -- 
 Stefan Pavlik | [EMAIL PROTECTED]
 Whitestein Technologies s.r.o. | www.whitestein.com
 Panenska 28 | 811 03 Bratislava | Slovak Republic
 Main +421 2 5443-5502 | Direct +421 2 5930-0735
 
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
 Don't miss this year's exciting event. There's still time to save $100. 
 Use priority code J8TL2D2. 
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (no subject)

2008-04-30 Thread 钟文辉
诚致:公司负责人(经理/财务)您们好!

祝贺您们在2008年里;有鼠不尽的快乐!鼠不尽的收获!鼠不尽的钞票! 
 
鼠不尽的幸福!鼠不尽的美满生活!愿: 您们阖家欢乐!幸福安康!

本公司是由三十多家公司联合的企业;符合申领“增值专用发票”,

“欧盟出口许可证”,“欧盟产地证”,“商品检验合格证书”申领标准;

可以低价代办以上一系列手续;还可以长期提供:出口报关单,核销单;

普通商品销售,运输,建筑安装,广告,服务行业,海关交款书,增值税专

用等发票。有意者请来电联系,如果对你造成不便或打搅时,请原谅!谢谢合作!

电话:0755-81153047。
 
传真:0755-81172940。
 
手机:15817477278。
 
联系人:钟文辉。
 
[EMAIL PROTECTED] 

商务信箱:http://541012091.qzone.qq.c

   此致:
   敬礼!



欢  迎  来  电  咨  询

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] looking for a consultant...

2008-04-30 Thread Kelly Leahy
Hi folks,

I've been a lurker and an occasional answerer (if that's a word) on this 
list.  We are looking to build an installer for our product, and we're 
looking for recommendations for someone to bring in as outside help for 
the task.  We're looking for someone with WiX and MSI experience that 
could help us get a relatively simple install process set up as well as 
help us understand our alternatives for patching, upgrades, etc.

Our environment is a bit unusual, so you have to be willing to help us do 
some things that may not be the most 'recommended' practices for 
installers -- while we're totally interested in hearing about best 
practices, you must understand that our needs may dictate doing things in 
a less than traditional way, and you must be willing to bow to the will of 
our users.

I would expect this to be a very short-term project, probably no more than 
a week in duration - basically we'd like an assessment of our business 
requirements, some recommendations, some WiX work to build a proof of 
concept with a RTM, some patches, and a second major release.  We are 
undertaking this project 6 months before our release so that we will have 
plenty of testing time, and plenty of time to 'eat our own dog food'.

If you have any recommendations of folks that could help with this, please 
contact me with details.
Thanks,
Kelly Leahy
Milliman, Inc.


**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or opinions
upon which reliance may be made by the addressee or any other party,
and it should be considered to be a work in progress. Unless otherwise
noted in this email or its attachments, this communication does not form 
a Statement of Actuarial Opinion under American Academy of Actuaries guidelines.
**-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Asking the user a yes/no question

2008-04-30 Thread Ben Greene
Thanks for your help, that was exactly what I was looking for.  I'm having a 
slight problem with my implementation though.  After the question dialog pops 
up, the install isn't proceeding to the next dialog, but staying on the same 
dialog.  I tried adding the 'Order' attribute, but then the AskConfigureSQL 
dialog didn't show at all.

Here's the relevant section of my customized WixUI_Modo.wxs file:

Publish Dialog=SetupTypeDlg Control=TypicalButton Event=SpawnDialog 
Value=AskConfigureSQL1/Publish
Publish Dialog=SetupTypeDlg Control=TypicalButton Event=NewDialog 
Value=VerifyReadyDlg1/Publish

Can anyone offer any advice?

Thanks


From: Christopher Painter [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 30 April 2008 10:25 PM
To: Ben Greene; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Asking the user a yes/no question

When would you like the Modal dialog to appear?  If during the UI sequence,  
just create a Dialog with Yes and No controls and call it with a SpawnDialog 
ControlEvent.   From the Yes control's ControlEvent you can then call a 
DoAction ControlEvent to fire your CA.

If not from the UI Sequence,  I don't really reccomend this since all user 
input should be collected up front.  Do the same thing as above only set a 
PUBLIC property ( and list it in SecureCustomProperties ) and then use that 
during the execute sequence to conditionally call your custom action(s) ( 
uninstall, install, rollback, commit )


Ben Greene [EMAIL PROTECTED] wrote:
Hi,

I've been searching the archives trying to find out if I can do this, but I 
can't find out how I'd go about it.

I would like to be able to pop up a message box, asking the user a question, 
with 'yes' and 'no' buttons.

If the user presses 'Yes', I would like a CustomAction to execute.

Is this possible?

Thanks
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it 
now.http://us.rd.yahoo.com/evt=51733/*http:/mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users