[WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari

Hi,

I need to add some information to my setup at runtime. So that every user
who downloads the setup, get a unique setup. Basically I need to embedded a
GUID in the setup, and when it runs, I want to write this guid to registry
or some file. Any pointers on how to achieve this.

I heard about changing resources in the setup at runtime... or maybe
updating property in MSI. I can either put this guid in the bootstrapper (
setup.exe) or MSI

What do u guys think?

- Nitin
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WIX - Custom Action calling EXE (with a dependent DLL)

2007-04-20 Thread Sankaranarayanan
Hi,

In my installer - I have a custom action which calls an EXE to perform some 
operation.
At the end of the installation, I want to make sure that the EXE used in the 
Custom Action is deleted from the system. I don't want to ship the EXE to 
clients.

I find that we can do it in the following ways
1) Package the EXE in Binary Table - so that the installer will automatically 
extract it into its temp directory and delete it at the end of the operation.
2) Unfortunately - In my case, the EXE has the dependency on a DLL, so option 1 
is ruled out. Even if I have the EXE and the DLL file in Binary Table - The 
installer doesn't seem to extract the DLL file into the temporary directory and 
the Custom Action fails with reason EXE couldn;t load the DLL. 

Currently I am copying both DLL and EXE into Program Files folder and execting 
the Custom Action with (WIXCA.CAQuietExec operation).
Have another custom action to delete the EXE and DLL from program files folder 
after usage.

1) Are there any better approaches for this problem - 
2) Instead of copying the files to Program Files folder - Are there ways to 
load the EXE and DLL in Binary table and make the EXE reference the DLL.
3) Are there any automatic ways to delete the EXE and DLL files at the end of 
the operation. (without writing another Custom Action to make calls to del 
command)

Your thoughts are most welcome.

Thanks,
Loonysan


  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/ 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] New Program Highlighting is missing

2007-04-20 Thread Rob Mensching
Magic.  I'm not joking.  The shell does some magic to tell when new apps are 
installed an are not installed.  When I install and uninstall a bunch of times 
the shell sometimes remembers and sometimes doesn't remember that this is a 
"new product".  I don't know what to make of it.

I expect Raymond Chen knows the secret to the magic.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Quinton Tormanen
Sent: Thursday, April 19, 2007 11:39 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New Program Highlighting is missing

Does anyone know what controls the New Program highlighting on the Program 
menu? I know it can be turned on and off by the user, but my tester has it 
turned on and when he run my installer it adds a folder with two shortcuts in 
it, but says that it's not highlighted as a new program.

Any ideas?

Quinton Tormanen
Software Engineer
Delta Computer Systems, Inc.
http://www.deltamotion.com
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Rennie Petersen
> Can you send a link to that tutorial?

Thanks for your interest.

My WiX tutorial not currently on-line, and it would involve some work to
place it on-line (formatting web pages, copying sample files, etc.)

So I'll ask again, is there really any interest in yet another WiX
tutorial? Mine is more introductory than the current "official" one,
covers only the basic features in WiX, but does cover a few things like
creating your own dialog boxes and localization more comprehensively.

Rennie
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Nathan Stohlmann
> Sent: 19. april 2007 17:34
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Dialog Editor
> 
> >From playing around with it for 15min, SharpDevelop seems like a
> pretty decent recommendation. Can you send a link to that tutorial?
> 
> 
> On 4/19/07, Rennie Petersen <[EMAIL PROTECTED]> wrote:
> > I use SharpDevelop 2.1. Its dialog editor works fairly well 
> with WiX 
> > dialogs. Just be aware that all comments are deleted. :-(
> >
> > There's also an open source program called WiXEdit. I tried 
> it out but 
> > ran into problems.
> >
> > I've made a simple "beginner's tutorial" for using WiX (with 
> > SharpDevelop). It's more basic than the "official" tutorial 
> and covers 
> > much less of WiX, but in more detail. If people on this forum think 
> > there's a need for something like this I could publish it.
> >
> > Rennie
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > > Anthony Wieser
> > > Sent: 19. april 2007 11:26
> > > To: wix-users@lists.sourceforge.net
> > > Subject: [WiX-users] Dialog Editor
> > >
> > > I thought I once saw a tool that could decompile .rc or 
> .res files 
> > > from visual studio, and produce WiX dialogs.  However, I 
> can't find 
> > > any information on where this was.
> > >
> > > Was I imagining it, or could one of you kind people point 
> me in the 
> > > right direction.
> > >
> > > Thanks.
> > >
> > > Anthony Wieser
> > > Wieser Software Ltd
> > >
> > >
> > > --
> > > ---
> > > This SF.net email is sponsored by DB2 Express Download 
> DB2 Express C 
> > > - the FREE version of DB2 express and take control of 
> your XML. No 
> > > limits. Just data. Click to get it now.
> > > http://sourceforge.net/powerbar/db2/
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> > 
> --
> > --- This SF.net email is sponsored by DB2 Express Download 
> DB2 Express 
> > C - the FREE version of DB2 express and take control of 
> your XML. No 
> > limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> 
> 
> --
> --Nathan Stohlmann
> Minneapolis, MN USA
> [EMAIL PROTECTED]
> 
> --
> ---
> This SF.net email is sponsored by DB2 Express Download DB2 
> Express C - the FREE version of DB2 express and take control 
> of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Access Violation whilst cabing

2007-04-20 Thread martin lavelle
Hello,I am getting the following error with WiX V3.0.2806.0 and V3.0.2716.0:
Creating cabinet 'C:\WiX\SchemaV3\CabCache\Marine1.cab'.light.exe : error 
LGHT0001 : Attempted to read or write protected memory. This is often an 
indication that other memory is corrupt.
Exception Type: System.AccessViolationException
Stack Trace:at 
Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish(IntPtr
 contextHandle)at 
Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Dispose()at 
Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.CreateCabinet(CabinetWorkItem
 cabinetWorkItem)at 
Microsoft.Tools.WindowsInstallerXml.CabinetBuilder.ProcessWorkItems()Generating 
database.
It succeeds if I reduce the number of files in the particular cabinet which is 
failing.All the files will cab, but not all at once.Substituting several small 
files, with one or two larger (overall) files, does not solve the problem.The 
problem is repeatable:1)  On different OS's and Hardware.2)  With 1 or 2 
threads, or without specifying threads (e.g. -ct 2).3)  With Cabinet Cache 
(-cc) specified or not.4)  With a different [EMAIL PROTECTED] Number (Not tried 
Media="1").5) With different versions of the .Net framework runtime.I've ran 
the whole build from my C:\ drive to eliminate Network and Source repository 
possibilities.I can't get the Cabinet larger than 577,667,792 Bytes.
I can't see a bug for this one, though bug 1672584 might be connected.If you 
think it merits a bug, please advise. Regards  Martin Lavelle.
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Skip license dialog

2007-04-20 Thread Andrei
Hi All,

Is it possible not to show the licence agreement dialog?
I use wix ver. 2.

Andrei

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Skip license dialog

2007-04-20 Thread Rennie Petersen
Yes, that is very easy, at least if you are working with the UI in
source form.

Just change the sequence of dialog boxes to omit the dialog box that
shows the license agreement.

But you do need to download the WiX source and work with the dialog
sequencer in source.

Rennie

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrei
> Sent: 20. april 2007 12:31
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Skip license dialog
> 
> Hi All,
> 
> Is it possible not to show the licence agreement dialog?
> I use wix ver. 2.
> 
> Andrei
> 
> --
> ---
> This SF.net email is sponsored by DB2 Express Download DB2 
> Express C - the FREE version of DB2 express and take control 
> of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to avoid running two instances of MSI through WIX

2007-04-20 Thread vishvas

Hi all,
We have created MSI using WIX 2.
But i observed end user can easily run two instances of MSI at the same
time.
I want to avoid this thing.
Can any one give me idea to how to do this using WIX ? 
-- 
View this message in context: 
http://www.nabble.com/How-to-avoid-running-two-instances-of-MSI-through-WIX-tf3615031.html#a10097833
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Anthony Wieser
I'm trying (in vain) to add a registration dialog between the License 
Agreement page, and the installDir dialog using the

default dialog set.

In my  section, I've added this:

LicenseAccepted = "1"
  1

as well as the definition of my UserRegistrationDlg.

Unfortunately, when I look at the file using orca, I see that there are two 
Next actions now:
LicenseAgreementDlg Next NewDialog UserRegistrationDlg LicenseAccepted = "1" 
1
LicenseAgreementDlg Next NewDialog InstallDirDlg LicenseAccepted = "1" 1

How can I remove the Next action for InstallDirDlg?

Anthony Wieser
Wieser Software Ltd



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
I am using exactly the same thing.

I have custom action (that runs as immediate) that will create the
GUID and will fill some property with this GUID.
This guid is used in Registry element - it is written to the registry.

(functions to search:
UuidCreateSequential
UuidToString )

Regards

Stefan

Nitin Chaudhari wrote:
> Hi,
>  
> I need to add some information to my setup at runtime. So that every
> user who downloads the setup, get a unique setup. Basically I need
> to embedded a GUID in the setup, and when it runs, I want to write this
> guid to registry or some file. Any pointers on how to achieve this.
>  
> I heard about changing resources in the setup at runtime... or maybe
> updating property in MSI. I can either put this guid in the bootstrapper
> (setup.exe) or MSI
>  
> What do u guys think?
>  
> - Nitin
> 
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> 
> 
> 
> 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Rennie Petersen
You need to change some things in the WixUI_InstallDir.wxs file to
change the sequencing of dialog boxes.

Rennie

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Anthony Wieser
> Sent: 20. april 2007 13:08
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Problems overriding dialog sequence
> 
> I'm trying (in vain) to add a registration dialog between the 
> License Agreement page, and the installDir dialog using the
> 
> default dialog set.
> 
> In my  section, I've added this:
> 
>  Event="NewDialog" 
> Value="UserRegistrationDlg">LicenseAccepted = "1"
>Event="NewDialog" 
> Value="UserRegistrationDlg" Order="2">1
> 
> as well as the definition of my UserRegistrationDlg.
> 
> Unfortunately, when I look at the file using orca, I see that 
> there are two Next actions now:
> LicenseAgreementDlg Next NewDialog UserRegistrationDlg 
> LicenseAccepted = "1" 
> 1
> LicenseAgreementDlg Next NewDialog InstallDirDlg 
> LicenseAccepted = "1" 1
> 
> How can I remove the Next action for InstallDirDlg?
> 
> Anthony Wieser
> Wieser Software Ltd
> 
> 
> 
> --
> ---
> This SF.net email is sponsored by DB2 Express Download DB2 
> Express C - the FREE version of DB2 express and take control 
> of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problems overriding dialog sequence

2007-04-20 Thread Anthony Wieser

- Original Message - 
From: "Rennie Petersen" <[EMAIL PROTECTED]>
To: "Anthony Wieser" <[EMAIL PROTECTED]>; 

Sent: Friday, April 20, 2007 12:20 PM
Subject: RE: [WiX-users] Problems overriding dialog sequence


You need to change some things in the WixUI_InstallDir.wxs file to
change the sequencing of dialog boxes.

Rennie



I subsequently found this:
http://www.wixwiki.com/index.php?title=WixUI_Custom

It states that you cannot "insert" a custom dialog.  You must duplicate the 
relevant contents of the WixUI_InstallDir.wxs or whichever you're trying to 
modify, and include  instead.

Unfortunately, the help file distributed with WiX isn't clear on this point.

Anthony Wieser
Wieser Software Ltd 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari

Hey Stefan,

I think we have different requirements, I want this guid to be filled up by
my webpage, so that my webserver knows which GUID is given to the user who
was logged in and who downloaded the setup.

Thanks,
Nitin

On 4/20/07, Stefan Pavlik <[EMAIL PROTECTED]> wrote:


I am using exactly the same thing.

I have custom action (that runs as immediate) that will create the
GUID and will fill some property with this GUID.
This guid is used in Registry element - it is written to the registry.

(functions to search:
UuidCreateSequential
UuidToString )

Regards

Stefan

Nitin Chaudhari wrote:
> Hi,
>
> I need to add some information to my setup at runtime. So that every
> user who downloads the setup, get a unique setup. Basically I need
> to embedded a GUID in the setup, and when it runs, I want to write this
> guid to registry or some file. Any pointers on how to achieve this.
>
> I heard about changing resources in the setup at runtime... or maybe
> updating property in MSI. I can either put this guid in the bootstrapper
> (setup.exe) or MSI
>
> What do u guys think?
>
> - Nitin
>
>
> 
>
>
-
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
>
>
> 
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

--
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
The you can just edit each MSI package just before downloading.

look for the MsiSetProperty in the MSDN

regards

Stefan

Nitin Chaudhari wrote:
> Hey Stefan,
>  
> I think we have different requirements, I want this guid to be filled up
> by my webpage, so that my webserver knows which GUID is given to the
> user who was logged in and who downloaded the setup.
>  
> Thanks,
> Nitin
>  
> On 4/20/07, *Stefan Pavlik* <[EMAIL PROTECTED]
> > wrote:
> 
> I am using exactly the same thing.
> 
> I have custom action (that runs as immediate) that will create the
> GUID and will fill some property with this GUID.
> This guid is used in Registry element - it is written to the registry.
> 
> (functions to search:
> UuidCreateSequential
> UuidToString )
> 
> Regards
> 
> Stefan
> 
> Nitin Chaudhari wrote:
> > Hi,
> >
> > I need to add some information to my setup at runtime. So that every
> > user who downloads the setup, get a unique setup. Basically I need
> > to embedded a GUID in the setup, and when it runs, I want to write
> this
> > guid to registry or some file. Any pointers on how to achieve this.
> >
> > I heard about changing resources in the setup at runtime... or maybe
> > updating property in MSI. I can either put this guid in the
> bootstrapper
> > (setup.exe) or MSI
> >
> > What do u guys think?
> >
> > - Nitin
> >
> >
> >
> 
> >
> >
> -
> 
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> >
> >
> >
> 
> >
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> 
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> --
> 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
> 
> 

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Johan Appelgren
On 4/20/07, Mailinglist <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hello WiX-users,
>
>
>
> because we needed to use managed custom actions in our setup, I searched
> around the net for a real solution to this.
>
>
>
> I found two projects ([1],[2]),  that followed quite good ideas, but both
> did not work out of the box or only under special circumstances. So I
> combined them both to something working.
>
>
>
> Simply, we now use a custom action to start a C++ library, that hosts the
> CLR, loads a specified assembly and calls a class that needs to implement a
> small interface. From inside that class the installer context can be used to
> fill properties, etc.
>
>
>
> Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as well
> as to my blog [4].
>
>
>
> Greetings,
>
>
>
> Oliver Friedrich
>
> Consultant - Software Solutions
>
>
>
>
>
> [1] "Hosting the CLR within a custom action" – Pablo M. Cibaro -
> http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx
>
> [2] "Wrapping the Windows Installer 2.0 API" -
> http://www.codeproject.com/csharp/msiinterop.asp
>
> [3] Rapidshare Download Link:
> http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html
>
> [4] Blogentry: http://www.forestwalk.de/?p=31
>

How does this work around the technical reason for managed custom
actions not working that Rob Mensching blogged about recently?

http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-no-support-on-the-way-and-heres.aspx

/Johan

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hi Johan,

> How does this work around the technical reason for managed custom
> actions not working that Rob Mensching blogged about recently?

Well, it works, though we have not testet calling managed custom actions for 
different framework versions. We roll out our software, entirely written for 
.NET 2.0 as well as the custom actions are.

Greetings

Oliver Friedrich
Consultant - Software Solutions

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Release and debug installations.

2007-04-20 Thread Richard.Foster
Kevin,

 

I don't know if it's the recommended way (it probably isn't) but here is
a brief description of what we do here:

 

We happen to use NAnt for our build scripts. You should be able to
accomplish similar results using a batch file, MSBuild or similar.

 

Our calls to Candle look something like this:

 

























 

In NAnt terminology, ${whatever} represents an item which will be filled
in when the script is executed. As you can see, we are using the -d
command line parameter to pass several variables into candle, among
which is the build type. When Candle runs, those preprocessor variables
can be accessed using $(var.VariableName) and used to populate other
elements with the correct values.

 

In the wxs file, we have something like this:

 

























 

As you can see, the src attribute on the files uses the buildtype
variable (as passed from the command line) to select the correct source
folder.

 

In addition, the preprocessor test ()
allows us to only include the SomeComponentDebug component if we are
making a debug build.

 

Obviously, there are similar preprocessor tests around other areas to
ensure that the debug components are only included in ComponentGroup's
or Feature's for debug builds. I didn't bother including them because
the syntax is identical.

 

I hope this is helpful to you.

 

Regards,

Richard

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin
Burton
Sent: Thursday, April 19, 2007 11:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Release and debug installations.

 

I was wondering what the recommended way or even some suggestions on how
to handle building a Release and Debug installation? I have a Wix script
that builds a .msi but it takes its files from bin\debug and it includes
.pdb files that are not present in the release directory(s). I would
like to create an msbuild script that passes "configuration" information
to the Wix candle/light via the .wxs file. My roadblock now is I am not
sure how to translate a "target" in an msbuild project to a "property"
that is usable in the .wxs. I have tried  but it seems that
the property is not set. Just a simple msbuild project that I could do
something like 'msbuild MyProject.wproj Release' and it would pass the
'Release' target (as a property I guess) to Wix. Any suggestions would
be greatly appreciated. 

 

Thank you.

 

Kevin




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Brett Kapilik
Well, if the download is generic - just a file on a server - then I
don't see how you can do this. However, if you are running a Windows
server (ASP) theoretically I suppose you could make the download script:
 
- Make a copy of the msi file on the server
- Use the MSI Automation interface to open the database, write a value
to a property, and then close the database
- Serve that file up to the user
- Delete the copied files after download or on a cron job
 
I have never attempted to do this so don't ask for particulars, but
maybe that will get the thought process going...
 
- Brett


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nitin
Chaudhari
Sent: Friday, April 20, 2007 2:47 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] changing setup at runtime


Hi,
 
I need to add some information to my setup at runtime. So that
every user who downloads the setup, get a unique setup. Basically I need
to embedded a GUID in the setup, and when it runs, I want to write this
guid to registry or some file. Any pointers on how to achieve this. 
 
I heard about changing resources in the setup at runtime... or
maybe updating property in MSI. I can either put this guid in the
bootstrapper (setup.exe) or MSI
 
What do u guys think?
 
- Nitin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI: Features in a ListBox

2007-04-20 Thread fiordean dacian
Hi Bob,

How to I know within the AddLocal and Remove events for the Next button which 
entry is selected in the listbox?

Sketch:







...

LISTBOXVALUES="Feature1"
LISTBOXVALUES="Feature2"
LISTBOXVALUES<>"Feature1"
LISTBOXVALUES<>"Feature2"


???

Thx,
Dacian



1. Modify the SetupTypeDlg.wxs such that Typical/Custom/Complete
buttons are not displayed but rather a simple ListBox having the list
of features I want to install listed in there. The UI manipulation it's
ok, but I don't figure how I could link the features in?

  

  




You have to list the items in ListItem elements. 




  
  2. I want the ListBox above behave like 'SelectionTree' from
CustomizeDlg.wxs in that when one of the entries (features) gets
clicked, the description is diplayed next to it. 

  




There doesn't appear to be an event that list boxes publish to support
this.




  
  Also, on Next button click I want to get out the selected
features and install only those, of course :)

  

  




Publish control events for the Next button to AddLocal and/or Remove
the appropriate features.

-- 
sig://boB
http://bobs.org





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Ricardo Lopes

Hi,

I tried several ways and can't set a registry key only when the user checks
a checkbox.

I Create a component with a condition that checks a property (initialy set
to "1" to make the checkbox control checked by default), however it seems
that the property value is not set by the control and i have the Property
attribute set for that control. The dialog is show just before the
VerifyReadyDlg the dialog sequence is the same as the WixUI_InstallDir
except for that extra dialog that has some checkboxes to conditioning some
aspects of installation (this was the first i tried to get working, so the
other do nothing for now..)

Here is the relevant part of my wix file:


   
 

 
   "[INSTALLLOCATION]App.exe"
-startup
 
   

...



 



I tried to get this to work like the way is show on a mailing post that
shows how to create a conditional shortcut but doesn't work well in all
situations.
Help is really appreciated.

Thanks.
Ricardo Lopes
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error in ScaSchedule - ConfigureIIS

2007-04-20 Thread sandy

HI,
I'm getting a  while installing my msi.

Configuration of my webserver is 



If I change the configuration to the following It start working . 





The only change I made to config is to add a header or assign server IP address 
to make it non functional...

Is it a bug in the ScaSched.dll or I'm doing something wrong??




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Type 51 Custom Actions not run? [SOLVED]

2007-04-20 Thread Anthony Wieser
Duh!

If you're trying to make changes to the UI, don't add it to the 
InstallExecuteSequence!

Add it to the InstallUISequence instead!

Once I did that, it all started working.

Maybe posting this will save someone else some time before they make the 
same dumb mistake.

Anthony Wieser
Wieser Software Ltd

> and then add this in the sequence table:
>   
>  PIDKEY = ""<
> /Custom>
>  PIDKEY
> = ""< /Custom>
>



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Brett Kapilik
Try making the property public (ALLCAPS):
 
 
 
Then reference it in the component condition as the all-uppercase
property name.
 
- Brett


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ricardo
Lopes
Sent: Friday, April 20, 2007 10:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional registry key using CheckBox
control


Hi,

I tried several ways and can't set a registry key only when the
user checks a checkbox.

I Create a component with a condition that checks a property
(initialy set to "1" to make the checkbox control checked by default),
however it seems that the property value is not set by the control and i
have the Property attribute set for that control. The dialog is show
just before the VerifyReadyDlg the dialog sequence is the same as the
WixUI_InstallDir except for that extra dialog that has some checkboxes
to conditioning some aspects of installation (this was the first i tried
to get working, so the other do nothing for now..) 

Here is the relevant part of my wix file:



   
  
  
"[INSTALLLOCATION]App.exe"
-startup 
   


...



   



I tried to get this to work like the way is show on a mailing
post that shows how to create a conditional shortcut but doesn't work
well in all situations.
Help is really appreciated.

Thanks. 
Ricardo Lopes 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mailinglist
Hello WiX-users,

because we needed to use managed custom actions in our setup, I searched around 
the net for a real solution to this.

I found two projects ([1],[2]),  that followed quite good ideas, but both did 
not work out of the box or only under special circumstances. So I combined them 
both to something working.

Simply, we now use a custom action to start a C++ library, that hosts the CLR, 
loads a specified assembly and calls a class that needs to implement a small 
interface. From inside that class the installer context can be used to fill 
properties, etc.

Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as well as 
to my blog [4].

Greetings,

Oliver Friedrich
Consultant - Software Solutions


[1] "Hosting the CLR within a custom action" - Pablo M. Cibaro - 
http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx
[2] "Wrapping the Windows Installer 2.0 API" - 
http://www.codeproject.com/csharp/msiinterop.asp
[3] Rapidshare Download Link: 
http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html
[4] Blogentry: http://www.forestwalk.de/?p=31

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Type 51 Custom Actions not run?

2007-04-20 Thread Anthony Wieser
I'm trying to read some data out of the registry using

  



  


That works fine, and both items are correctly set to the values in the 
registry.

Then, I'd like to set PIDKEY (if it isn't already set) to MACHINEKEY if 
that's set, or USERKEY if it's not.

Unfortunately, I've spent the last 5 hours trying unsuccessfully to figure 
this one out.

It seems I'm stuck even at the first hurdle.  Ideally, I'd like to do this:



and then add this in the sequence table:
   
  PIDKEY = ""< 
/Custom>
  PIDKEY 
= ""< /Custom>


I expected that this would set PIDKEY to one of the values if it wasn't 
already set.

I then add this line to one of my dialogs:

to try to display the value.


Well, examining the logs, I get this:
Action start 15:42:10: AppSearch.
MSI (c) (20:B8) [15:42:10:257]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (20:B8) [15:42:10:257]: PROPERTY CHANGE: Adding MACHINEKEY property. 
Its value is 'bogusmachine'.
MSI (c) (20:B8) [15:42:10:259]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (20:B8) [15:42:10:259]: PROPERTY CHANGE: Adding USERKEY property. 
Its value is 'bogususer'.
Action ended 15:42:10: AppSearch. Return value 1.
MSI (c) (20:B8) [15:42:10:260]: Doing action: ValidateProductID
Action start 15:42:10: ValidateProductID.
Action ended 15:42:10: ValidateProductID. Return value 1.
MSI (c) (20:B8) [15:42:10:262]: Doing action: CostInitialize
Action start 15:42:10: CostInitialize.

As you can see my custom action isn't scheduled.

so, I remove the conditions, and rewrite as:
   
  
  


which gives the same results.

Strangely, even if I try to set the PIDKEY on the command line of msiexec, I 
still don't get anything in the dialog.


When I replace PIDKEY with a WORKINGKEY and make the following changes I get 
the same results:





only now 1234 shows up on my UI as the key in the dialog, but there's still 
no evidence of running the custom actions in the log.


Any ideas where I've screwed up this time?

Anthony Wieser
Wieser Software Ltd



I've tried to set up a custom action to just copy one of the properties to 
another, but it's not being run. 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Ricardo Lopes

Thanks,

It worked fine.

I didn't use the ALLCAPS version because i like camel-casing, has better
readability.

I notice many properties are in allcaps, is a limitation of MSI ?

If so i think it should be verified on the schema and warm or force the user
to change it to allcaps.

Many thanks.
Ricardo Lopes.

On 20/04/07, Brett Kapilik <[EMAIL PROTECTED]> wrote:


 Try making the property public (ALLCAPS):



Then reference it in the component condition as the all-uppercase property
name.

- Brett

 --
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Ricardo Lopes
*Sent:* Friday, April 20, 2007 10:27 AM
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] Conditional registry key using CheckBox control

Hi,

I tried several ways and can't set a registry key only when the user
checks a checkbox.

I Create a component with a condition that checks a property (initialy set
to "1" to make the checkbox control checked by default), however it seems
that the property value is not set by the control and i have the Property
attribute set for that control. The dialog is show just before the
VerifyReadyDlg the dialog sequence is the same as the WixUI_InstallDir
except for that extra dialog that has some checkboxes to conditioning some
aspects of installation (this was the first i tried to get working, so the
other do nothing for now..)

Here is the relevant part of my wix file:



  

  
"[INSTALLLOCATION]App.exe"
-startup
  


...



  



I tried to get this to work like the way is show on a mailing post that
shows how to create a conditional shortcut but doesn't work well in all
situations.
Help is really appreciated.

Thanks.
Ricardo Lopes


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control

2007-04-20 Thread Brett Kapilik
Well, there is nothing inherently "wrong" with non-public properties.
Even from the UI. The "correctness" is conextual as to where you are
referencing the property which makes it very hard to catch in a
compiler. This is a logic error rather than a syntax error.
 
- Brett


  _  

From: Ricardo Lopes [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 20, 2007 10:55 AM
To: Brett Kapilik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Conditional registry key using CheckBox
control


Thanks,

It worked fine.

I didn't use the ALLCAPS version because i like camel-casing,
has better readability.

I notice many properties are in allcaps, is a limitation of MSI
?

If so i think it should be verified on the schema and warm or
force the user to change it to allcaps. 

Many thanks.
Ricardo Lopes.


On 20/04/07, Brett Kapilik <[EMAIL PROTECTED]> wrote: 

Try making the property public (ALLCAPS):
 
 
 
Then reference it in the component condition as the
all-uppercase property name.
 
- Brett


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ricardo
Lopes
Sent: Friday, April 20, 2007 10:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional registry key
using CheckBox control



Hi,

I tried several ways and can't set a registry
key only when the user checks a checkbox.

I Create a component with a condition that
checks a property (initialy set to "1" to make the checkbox control
checked by default), however it seems that the property value is not set
by the control and i have the Property attribute set for that control.
The dialog is show just before the VerifyReadyDlg the dialog sequence is
the same as the WixUI_InstallDir except for that extra dialog that has
some checkboxes to conditioning some aspects of installation (this was
the first i tried to get working, so the other do nothing for now..) 

Here is the relevant part of my wix file:




 
  
  

"[INSTALLLOCATION]App.exe" -startup 
   


...



   



I tried to get this to work like the way is show
on a mailing post that shows how to create a conditional shortcut but
doesn't work well in all situations.
Help is really appreciated.

Thanks. 
Ricardo Lopes 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Anthony Wieser
Why in so many examples is this written:
   


I thought CDATA was only required for when XML reserved items were included, 
like <, >, and &.

Am I missing something, or is it just mystically copied around?

Anthony Wieser
Wieser Software Ltd-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Daryn Mitchell

Also for an concise example of using the Automation interface you might find
it helpful to look at "WiRunSQL.vbs" in the Installer SDK / Platform SDK.

Use of the script is described in "Examples of Database Queries Using SQL
and Script"
http://msdn2.microsoft.com/en-us/library/aa368562.aspx


Daryn.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan Pavlik
[...]
look for the MsiSetProperty in the MSDN
[...]



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control :Why CDATA?

2007-04-20 Thread Richard.Foster
Anthony,

 

I think the reason you see it so much is that giving out a sample this
way is "safe". You are perfectly correct that you don't need it unless
there are XML reserved items, but it seems that (unfortunately) huge
numbers of developers don't understand the requirement to encapsulate
those characters in a CDATA block or encode them properly. By giving
examples in this form, when someone modifies the test to be an
inequality instead of an equality they don't get bitten! I'm sure it's
also easier for tools like Dark and Votive to always drop things in a
CDATA block than go through the extra steps of testing first to see if
it is necessary.

 

Regards,

Richard

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anthony
Wieser
Sent: Friday, April 20, 2007 12:13 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Conditional registry key using CheckBox control
:Why CDATA?

 

Why in so many examples is this written:

  


 

I thought CDATA was only required for when XML reserved items were
included, like <, >, and &.

 

Am I missing something, or is it just mystically copied around?

 

Anthony Wieser

Wieser Software Ltd




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual or 
entity to whom it is addressed. If you have received this communication in 
error, be aware that forwarding it, copying it, or in any way disclosing its 
content to any other person, is strictly prohibited. Peek Traffic Corporation 
is neither liable for the contents, nor for the proper, complete and timely 
transmission of (the information contained in) this communication. If you have 
received this communication in error, please notify the author by replying to 
this e-mail immediately and delete the material from any computer.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional registry key using CheckBox control : Why CDATA?

2007-04-20 Thread Ricardo Lopes

No special reason, was just trying ;-)

Is the same to use:



or

StartAppWithWindows = 1


Ricardo Lopes.

On 20/04/07, Anthony Wieser <[EMAIL PROTECTED]> wrote:


 Why in so many examples is this written:
  

I thought CDATA was only required for when XML reserved items were
included, like <, >, and &.

Am I missing something, or is it just mystically copied around?

Anthony Wieser
Wieser Software Ltd

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





--

Ricardo Lopes
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Daryn Mitchell

Rennie,

I'd be very happy to see a more beginner-oriented tutorial to help with
getting started. I'm currently evaluating whether to switch from
InstallShield to WiX, and there are still things I have not yet got
running/tested in WiX.

I'm a software developers who happen to also do setup -- as opposed to a
hardcore setup guy. I think people like me who are considering WiX could
certainly benefit from a tutorial focused on guiding beginners through a
smaller set of tasks that would be found in a typical 'simple' installation.

Your mention of dialog boxes and localization touches on the area that is
causing my current pause: customizing the UI, which seems to have a steep
initial learning curve... to an InstallShield user :)

Daryn.


 
-Original Message-
From: Rennie Petersen

[...] is there really any interest in yet another WiX
tutorial? Mine is more introductory than the current "official" one,
covers only the basic features in WiX, but does cover a few things like
creating your own dialog boxes and localization more comprehensively.




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Wilson, Phil
Congratulations - you reinvented InstallUtilLib.dll...

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mailinglist
Sent: Friday, April 20, 2007 4:52 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using .NET 2.0 Managed Custom Actions



Hello WiX-users,

 

because we needed to use managed custom actions in our setup, I searched
around the net for a real solution to this.

 

I found two projects ([1],[2]),  that followed quite good ideas, but
both did not work out of the box or only under special circumstances. So
I combined them both to something working.

 

Simply, we now use a custom action to start a C++ library, that hosts
the CLR, loads a specified assembly and calls a class that needs to
implement a small interface. From inside that class the installer
context can be used to fill properties, etc.

 

Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as
well as to my blog [4].

 

Greetings,

 

Oliver Friedrich

Consultant - Software Solutions

 

 

[1] "Hosting the CLR within a custom action" - Pablo M. Cibaro -
http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx

[2] "Wrapping the Windows Installer 2.0 API" -
http://www.codeproject.com/csharp/msiinterop.asp

[3] Rapidshare Download Link:
http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html

[4] Blogentry: http://www.forestwalk.de/?p=31

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Sandeep . Baweja
Rennie,

Like Daryn, I am also a developer who has occasionally done setup. I have 
used WiX and InstallShield.
I would also be interested in a tutorial that explains in greater detail 
custom dialogs and localization. I found not found any decent 
documentation in this area.
 I would almost always choose 
WiX over other install tools (based on my limited experience with the two 
mentioned above) if this area of WiX was well documented.
 The "official" tutorial is an excellent resource but does not 
cover this area comprehensively.

Thanks,

Sandeep







"Daryn Mitchell" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/20/2007 09:36 AM

To

cc

Subject
Re: [WiX-users] Any interest in a beginner's tutorial?







Rennie,

I'd be very happy to see a more beginner-oriented tutorial to help with
getting started. I'm currently evaluating whether to switch from
InstallShield to WiX, and there are still things I have not yet got
running/tested in WiX.

I'm a software developers who happen to also do setup -- as opposed to a
hardcore setup guy. I think people like me who are considering WiX could
certainly benefit from a tutorial focused on guiding beginners through a
smaller set of tasks that would be found in a typical 'simple' 
installation.

Your mention of dialog boxes and localization touches on the area that is
causing my current pause: customizing the UI, which seems to have a steep
initial learning curve... to an InstallShield user :)

Daryn.


 
-Original Message-
From: Rennie Petersen

[...] is there really any interest in yet another WiX
tutorial? Mine is more introductory than the current "official" one,
covers only the basic features in WiX, but does cover a few things like
creating your own dialog boxes and localization more comprehensively.




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Brett Kapilik
We (me and the company that I work for) are in the process of making a
setup tool (like InstallShield but laid out much better) that generates
WiX (3.0) files and then builds with candle and light. It generates 100%
pure WiX and has a visual interface as well as a full dialog editor. The
way that we have handled the UI makes creating dialogs and changing
dialog sequences and logic easy(er). I think it will be a great tool for
those wanting to use WiX but not wanting to learn all of its nuances
before getting up and running like you guys.
 
I do plan on opening our private beta to the WiX mailing list if the
interest is there. This is not intended to be a spam or shameless plug,
I just see a lot of WiX users expressing (directly or indirectly) this
sentiment and I just want to let you know that a solution is in the
works. I will say up front that it will be a commercial tool, but we
will be giving lots of free licenses away to those who help us with
testing, etc.
 
I will post an announcement to the list when we open beta testing
(within a few weeks).
 
- Brett


  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 11:53 AM
To: Daryn Mitchell
Cc: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Any interest in a beginner's tutorial?



Rennie, 

Like Daryn, I am also a developer who has occasionally done
setup. I have used WiX and InstallShield. 
I would also be interested in a tutorial that explains in
greater detail custom dialogs and localization. I found not found any
decent documentation in this area. 
 I would almost always choose 
WiX over other install tools (based on my limited experience
with the two mentioned above) if this area of WiX was well documented. 
 The "official" tutorial is an excellent resource but does not 
cover this area comprehensively. 

Thanks, 

Sandeep 







"Daryn Mitchell" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

04/20/2007 09:36 AM 

To
 
cc
Subject
Re: [WiX-users] Any interest in a beginner's tutorial?







Rennie,

I'd be very happy to see a more beginner-oriented tutorial to
help with
getting started. I'm currently evaluating whether to switch from
InstallShield to WiX, and there are still things I have not yet
got
running/tested in WiX.

I'm a software developers who happen to also do setup -- as
opposed to a
hardcore setup guy. I think people like me who are considering
WiX could
certainly benefit from a tutorial focused on guiding beginners
through a
smaller set of tasks that would be found in a typical 'simple'
installation.

Your mention of dialog boxes and localization touches on the
area that is
causing my current pause: customizing the UI, which seems to
have a steep
initial learning curve... to an InstallShield user :)

Daryn.



-Original Message-
From: Rennie Petersen

[...] is there really any interest in yet another WiX
tutorial? Mine is more introductory than the current "official"
one,
covers only the basic features in WiX, but does cover a few
things like
creating your own dialog boxes and localization more
comprehensively.






-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


__
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit
http://www.messagelabs.com/email 

__



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Where to install samples

2007-04-20 Thread Brian Cardiff

I guest that the decission was not to include another tool.
I have the same abuse feeling, that why in first chance I asked "what do you
think about this?" in my first mail.

Do you have any suggest of self-extraction tools that allow feature like
selection and store registry information? because that are the things that
the Source code installer/samples installer actually do.


On 4/19/07, Bob Arnson <[EMAIL PROTECTED]> wrote:


Brian Cardiff wrote:
> And with "doesn't register the product" I mean, Suppress:
> RegisterProduct, RegisterUser, PublishProduct, PublishFeatures. So the
> installer don't leave trace of that.

That's a pretty bad abuse of MSI -- why go through the cost of
generating components and authoring only to get none of the advantages
(e.g., patching)? There are plenty of other tools that offer
self-extraction features.

--
sig://boB
http://bobs.org






--
Brian J. Cardiff
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread John Vottero
Have you found documentation for InstallUtilLib.dll?  Did Microsoft add
it to the list of redistributable software?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Friday, April 20, 2007 12:43 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

 

Congratulations - you reinvented InstallUtilLib.dll...

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mailinglist
Sent: Friday, April 20, 2007 4:52 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using .NET 2.0 Managed Custom Actions

Hello WiX-users,

 

because we needed to use managed custom actions in our setup, I searched
around the net for a real solution to this.

 

I found two projects ([1],[2]),  that followed quite good ideas, but
both did not work out of the box or only under special circumstances. So
I combined them both to something working.

 

Simply, we now use a custom action to start a C++ library, that hosts
the CLR, loads a specified assembly and calls a class that needs to
implement a small interface. From inside that class the installer
context can be used to fill properties, etc.

 

Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as
well as to my blog [4].

 

Greetings,

 

Oliver Friedrich

Consultant - Software Solutions

 

 

[1] "Hosting the CLR within a custom action" - Pablo M. Cibaro -
http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx

[2] "Wrapping the Windows Installer 2.0 API" -
http://www.codeproject.com/csharp/msiinterop.asp

[3] Rapidshare Download Link:
http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html

[4] Blogentry: http://www.forestwalk.de/?p=31

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] upgrade and UI question...

2007-04-20 Thread Robert Randall
I'm slowly marching through my upgrade challenges.  

When an upgrade is launched the default dialog that appears is not what I
need.  What are the recommended ways of displaying a more elaborate upgrade
dialog.  The "continuing the installation" will confuse my users and
generate support calls.

Still seeking the true Zen of WiX,
Robert.

p.s. but I refuse to give up 8-)


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Matthew Janulewicz
Not trying to steal any thunder or business, and competition is good,
but there is a most excellent open source project called WixEdit that
has a dialog editor in it. It now supports Wix 3.0 (and extensions) and
is simple/graphical enough for a beginner to start using. I haven't a
clue how to internationalize an installer so I didn't know where to
start looking in WixEdit for that kind of stuff.

 

I used it to make all our initial installers and still break it out once
in a while when I need to do something I don't know how to do, or
Intellisense doesn't make sense. It's saved me a lot of time, especially
at the beginning of my Wix life:

 

http://wixedit.sourceforge.net/

 

 

-Matt

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brett
Kapilik
Sent: Friday, April 20, 2007 10:08 AM
To: [EMAIL PROTECTED]; Daryn Mitchell
Cc: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Any interest in a beginner's tutorial?

 

We (me and the company that I work for) are in the process of making a
setup tool (like InstallShield but laid out much better) that generates
WiX (3.0) files and then builds with candle and light. It generates 100%
pure WiX and has a visual interface as well as a full dialog editor. The
way that we have handled the UI makes creating dialogs and changing
dialog sequences and logic easy(er). I think it will be a great tool for
those wanting to use WiX but not wanting to learn all of its nuances
before getting up and running like you guys.

 

I do plan on opening our private beta to the WiX mailing list if the
interest is there. This is not intended to be a spam or shameless plug,
I just see a lot of WiX users expressing (directly or indirectly) this
sentiment and I just want to let you know that a solution is in the
works. I will say up front that it will be a commercial tool, but we
will be giving lots of free licenses away to those who help us with
testing, etc.

 

I will post an announcement to the list when we open beta testing
(within a few weeks).

 

- Brett

 


  _  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 11:53 AM
To: Daryn Mitchell
Cc: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Any interest in a beginner's tutorial?


Rennie, 

Like Daryn, I am also a developer who has occasionally done
setup. I have used WiX and InstallShield. 
I would also be interested in a tutorial that explains in
greater detail custom dialogs and localization. I found not found any
decent documentation in this area. 
 I would almost always choose 
WiX over other install tools (based on my limited experience
with the two mentioned above) if this area of WiX was well documented. 
 The "official" tutorial is an excellent resource but does not 
cover this area comprehensively. 

Thanks, 

Sandeep 







"Daryn Mitchell" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED] 

04/20/2007 09:36 AM 

To

 

cc

 

Subject

Re: [WiX-users] Any interest in a beginner's tutorial?

 

 

 





Rennie,

I'd be very happy to see a more beginner-oriented tutorial to
help with
getting started. I'm currently evaluating whether to switch from
InstallShield to WiX, and there are still things I have not yet
got
running/tested in WiX.

I'm a software developers who happen to also do setup -- as
opposed to a
hardcore setup guy. I think people like me who are considering
WiX could
certainly benefit from a tutorial focused on guiding beginners
through a
smaller set of tasks that would be found in a typical 'simple'
installation.

Your mention of dialog boxes and localization touches on the
area that is
causing my current pause: customizing the UI, which seems to
have a steep
initial learning curve... to an InstallShield user :)

Daryn.



-Original Message-
From: Rennie Petersen

[...] is there really any interest in yet another WiX
tutorial? Mine is more introductory than the current "official"
one,
covers only the basic features in WiX, but does cover a few
things like
creating your own dialog boxes and localization more
comprehensively.






-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_

Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Rob Mensching
I wish you the best of luck.  As long as you know that you are doing things 
that are not supported (and in a way actively discouraged) then may your code 
work for a very long time.  I also hope your install does not create future 
compatibility problems for the Windows Installer team (from what I've heard 
they have their hands full enough as it is).


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mailinglist
Sent: Friday, April 20, 2007 6:06 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

Hi Johan,

> How does this work around the technical reason for managed custom
> actions not working that Rob Mensching blogged about recently?

Well, it works, though we have not testet calling managed custom actions for 
different framework versions. We roll out our software, entirely written for 
.NET 2.0 as well as the custom actions are.

Greetings

Oliver Friedrich
Consultant - Software Solutions

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] reducing file size of msi containing duplicate files

2007-04-20 Thread Hongping Lim
Hi,

I am creating a MSI that has two features, each containing one component. The 
user can install either or both the features. Each component use the same 
source file which is to be installed to a different location.

Although the component use the same source file, it seems the file size of the 
MSI is still doubled. If in the wxs, I remove one component totally, then the 
size is only about the size of 1 times the source file, instead of twice.

Is there any to reduce the size of the MSI in such a scenario?

Here is a sample that I have tried:


  
  

  

  


  

  

  
  



  

  
  

  


Thanks for your help.

Regards,
Hongping
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Joe Kaplan
Rob, have you taken a look at the method that Christopher Painter alluded to 
in his comment on your blog post regarding Managed CA's?  He seems to have 
built something that implements a helper process to load the CLR and 
communicates with the installer via IPC.  This seems to be more of the 
architecture that you suggested would like be "the way" to do this if you 
were going to do this.

I also commented on your blog (and many others did as well) that the 
strategy as expressed to you by the architects you spoke to doesn't seem to 
hold water for many of us now.  I think we all understand that CAs are hard 
to get right and create instability, so they are best avoided. 
Unfortunately, they happen to be unavoidable in many cases.  Telling us that 
a future version of Windows and the installer may make it such that we won't 
need as many CAs is nice, but it doesn't help anyone get any work done now.

Some part of you must agree with that assessment, as you spend a lot of your 
time developing CAs to address these gaps now.  I'm sure you've also 
realized by now that WiX is never going to create a big enough CA library to 
take care of everyone's needs (although please don't stop trying on my 
account--I'm happy to use yours whenever I can!).

Why not a "managed code IPC invoker CA" for WiX?  Perhaps Christopher would 
even contribute?  It can't be much dirtier than the silent execution CA and 
offers the advantage of richer integration with the installer.

Joe K.

- Original Message - 
From: "Rob Mensching" <[EMAIL PROTECTED]>
To: "Mailinglist" <[EMAIL PROTECTED]>; 
Sent: Friday, April 20, 2007 12:42 PM
Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions


>I wish you the best of luck.  As long as you know that you are doing things 
>that are not supported (and in a way actively discouraged) then may your 
>code work for a very long time.  I also hope your install does not create 
>future compatibility problems for the Windows Installer team (from what 
>I've heard they have their hands full enough as it is).
>
>
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mailinglist
> Sent: Friday, April 20, 2007 6:06 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Using .NET 2.0 Managed Custom Actions
>
> Hi Johan,
>
>> How does this work around the technical reason for managed custom
>> actions not working that Rob Mensching blogged about recently?
>
> Well, it works, though we have not testet calling managed custom actions 
> for different framework versions. We roll out our software, entirely 
> written for .NET 2.0 as well as the custom actions are.
>
> Greetings
>
> Oliver Friedrich
> Consultant - Software Solutions
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using .NET 2.0 Managed Custom Actions

2007-04-20 Thread Mike Dimmick
Funnily enough, Rob posted a blog entry yesterday on why there are no plans
to add Managed Custom Action support to WiX any time soon. See
http://robmensching.com/blog/archive/2007/04/19/Managed-Code-CustomActions-n
o-support-on-the-way-and-heres.aspx.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mailinglist
Sent: 20 April 2007 12:52
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using .NET 2.0 Managed Custom Actions

 

Hello WiX-users,

 

because we needed to use managed custom actions in our setup, I searched
around the net for a real solution to this.

 

I found two projects ([1],[2]),  that followed quite good ideas, but both
did not work out of the box or only under special circumstances. So I
combined them both to something working.

 

Simply, we now use a custom action to start a C++ library, that hosts the
CLR, loads a specified assembly and calls a class that needs to implement a
small interface. From inside that class the installer context can be used to
fill properties, etc.

 

Since the demo code package is 3 MB, I uploaded it to Rapidshare [3] as well
as to my blog [4].

 

Greetings,

 

Oliver Friedrich

Consultant - Software Solutions

 

 

[1] "Hosting the CLR within a custom action" - Pablo M. Cibaro -
http://weblogs.asp.net/cibrax/archive/2005/04/11/399839.aspx

[2] "Wrapping the Windows Installer 2.0 API" -
http://www.codeproject.com/csharp/msiinterop.asp

[3] Rapidshare Download Link:
http://rapidshare.com/files/26953203/ManagedCustomActions.zip.html

[4] Blogentry: http://www.forestwalk.de/?p=31

 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread DE�K JAHN, G�bor
On Fri, 20 Apr 2007 09:52:42 -0700, [EMAIL PROTECTED] wrote:

Sandeep,

> The "official" tutorial is an excellent resource but does not cover
> this area comprehensively.

I don't want to say even a single word against a parallel tutorial, of course, 
but I'm more than willing to accept any contributions or additions into the 
existing one if anybody feels so.

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Any interest in a beginner's tutorial?

2007-04-20 Thread Sandeep . Baweja
Gabor,

This is a great idea because this way information stays in one place and 
is more easily accessible to all. If you and Rennie could collaborate on 
this, the community stands to benefit.

Just a suggestion.

Sandeep
 





"DEÁK JAHN, Gábor" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
04/20/2007 12:57 PM
Please respond to
[EMAIL PROTECTED]


To
WiX-users 
cc

Subject
[WiX-users] Any interest in a beginner's tutorial?






On Fri, 20 Apr 2007 09:52:42 -0700, 
[EMAIL PROTECTED] wrote:

Sandeep,

> The "official" tutorial is an excellent resource but does not cover
> this area comprehensively.

I don't want to say even a single word against a parallel tutorial, of 
course, but I'm more than willing to accept any contributions or additions 
into the existing one if anybody feels so.

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Tallow v2 - Make filters exclude matches, not include them?

2007-04-20 Thread Scott Parker

I'd like to set up an automated build process using Tallow to generate a
dynamic list of files to include. However our app tends to include an
extremely diverse set of file-types to deploy, while the files we need to
exclude tend to have a fairly static set of extensions.

Is there some way to force Tallow to exclude everything that DOES match the
-df wildcard rather than exclude what does NOT match?

Otherwise I'll just build a simple tool that walks the directory tree and
makes a list of qualifying extensions that don't match a specified array of
inputs, and then pass that to Tallow. That's certainly not an ideal solution
however.

Many thanks,
-Scott
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] capturing text change event

2007-04-20 Thread Lindsay Harris
Bob, thanks so much for your response.  So I wonder, is there any way to force 
a refresh or redraw of a WIX dialog?

Thanks!
Lindsay

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 19, 2007 11:51 PM
To: Lindsay Harris
Cc: wix-users@lists.sourceforge.net; David Voskuil; Rajive Kumar
Subject: Re: [WiX-users] capturing text change event

Lindsay Harris wrote:
Is there any way to capture the text changed event for an Edit control.

No; MSI doesn't expose events on Edit controls. From the MSI doc:

The ControlEvent Table specifies the control events 
that are started when a user interacts with a PushButton 
Control, CheckBox Control, or 
SelectionTree Control. These are the only controls 
that a user can use to initiate control events.

--

sig://boB

http://bobs.org
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Release and debug installations.

2007-04-20 Thread Kevin Burton
Thank you this was most helpful. Particularly I was unaware of the 'var.'
syntax. Thank you. I will need to do a little more digging to see how I set
the -d preprocessor arguments with msbuild. Thank you.

 

Kevin

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, April 20, 2007 8:36 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Release and debug installations.

 

Kevin,

 

I don't know if it's the recommended way (it probably isn't) but here is a
brief description of what we do here:

 

We happen to use NAnt for our build scripts. You should be able to
accomplish similar results using a batch file, MSBuild or similar.

 

Our calls to Candle look something like this:

 

























 

In NAnt terminology, ${whatever} represents an item which will be filled in
when the script is executed. As you can see, we are using the -d command
line parameter to pass several variables into candle, among which is the
build type. When Candle runs, those preprocessor variables can be accessed
using $(var.VariableName) and used to populate other elements with the
correct values.

 

In the wxs file, we have something like this:

 

























 

As you can see, the src attribute on the files uses the buildtype variable
(as passed from the command line) to select the correct source folder.

 

In addition, the preprocessor test ()
allows us to only include the SomeComponentDebug component if we are making
a debug build.

 

Obviously, there are similar preprocessor tests around other areas to ensure
that the debug components are only included in ComponentGroup's or Feature's
for debug builds. I didn't bother including them because the syntax is
identical.

 

I hope this is helpful to you.

 

Regards,

Richard

 

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin Burton
Sent: Thursday, April 19, 2007 11:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Release and debug installations.

 

I was wondering what the recommended way or even some suggestions on how to
handle building a Release and Debug installation? I have a Wix script that
builds a .msi but it takes its files from bin\debug and it includes .pdb
files that are not present in the release directory(s). I would like to
create an msbuild script that passes "configuration" information to the Wix
candle/light via the .wxs file. My roadblock now is I am not sure how to
translate a "target" in an msbuild project to a "property" that is usable in
the .wxs. I have tried  but it seems that the property is not
set. Just a simple msbuild project that I could do something like 'msbuild
MyProject.wproj Release' and it would pass the 'Release' target (as a
property I guess) to Wix. Any suggestions would be greatly appreciated. 

 

Thank you.

 

Kevin

  _  


* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the individual
or entity to whom it is addressed. If you have received this communication
in error, be aware that forwarding it, copying it, or in any way disclosing
its content to any other person, is strictly prohibited. Peek Traffic
Corporation is neither liable for the contents, nor for the proper, complete
and timely transmission of (the information contained in) this
communication. If you have received this communication in error, please
notify the author by replying to this e-mail immediately and delete the
material from any computer.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Overwriting existing files

2007-04-20 Thread John S
Hiya folks,
   
  A quick question,
   
  How can the existing files be overwritten during a repair option?
   
  appreciate any help.
   
  -John
  Software Developer
  BP- London

   
-
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Skip license dialog

2007-04-20 Thread DEVAL SHAH
Hello,
Yes you can skip the license if you modify the wixlib.
Look at the tutorial at http://www.tramontana.co.hu/wix/lesson2.php#2.5 to 
see how to modify the dialog boxes and their order.


>From: Andrei <[EMAIL PROTECTED]>
>To: wix-users@lists.sourceforge.net
>Subject: [WiX-users] Skip license dialog
>Date: Fri, 20 Apr 2007 12:30:36 +0200
>
>Hi All,
>
>Is it possible not to show the licence agreement dialog?
>I use wix ver. 2.
>
>Andrei
>
>-
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>___
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] capturing text change event

2007-04-20 Thread Richard

In article <[EMAIL PROTECTED]>,
Lindsay Harris <[EMAIL PROTECTED]>  writes:

> Bob, thanks so much for your response.  So I wonder, is there any way to fo=
> rce a refresh or redraw of a WIX dialog?

What is it you're really trying to do?

You've asked about a task without stating the goal.

Usually there are many ways to achieve a goal.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Handing a change in IUSR account

2007-04-20 Thread Don Tasanasanta
Most of the time when setting up web applications or virtual directories
you can assume that the IUSR account will be IUSR_ and go
forth from there.

 

But what if the user has changed the IUSR account or more likely changed
the name of the machine since installing IIS. Then the name of the
machine doesn't match the assumed IUSR_ name. 

 

How are people handling this situation? Also... is there a way I can
trap this error in WiX so I can at least inform the user why the install
failed? 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] custom action conditioned on selected features

2007-04-20 Thread Hongping Lim
Hi,

I have a custom action that I want to run, but only if the user has selected 
and installed a specific Feature. Is there an expression or property to use to 
determine whether a particular Feature has been selected?

Thanks,
Hongping

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Overwriting existing files

2007-04-20 Thread Matt Anderson
Try using the REINSTALLMODE property with the REINSTALL property.  The 
REINSTALLMODE property tells the installer how to overwrite the files and if 
to use versioning rules or not.  The REINSTALL property tells it what features 
to apply REINSTALLMODE to.

Take a look at http://msdn2.microsoft.com/en-us/library/aa371182.aspx for more 
info.

Just as a side note, if you are running a fresh install, just leave REINSTALL 
out.

Hope this helps you out.

-Matt Anderson


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] reducing file size of msi containing duplicate files

2007-04-20 Thread Matt Anderson
I'm not really sure if this is the best method or if it would cut down on the 
size at all, but you could create a custom UI sequence and use properties and 
conditions.  Have a dialog with a couple of checkboxes specifying the desired 
destinations.  When the user checks them, set a property to some value to 
signify that particular destination was selected.  Use one feature with one 
component.  In the component tag have the file tag and a couple of filecopy 
tags in condition statements checking to see if the corresponding properties 
were set.  This way you're only using one copy of the file to do the work.  
I'm not sure if adding the extra dialog negate any size decrease, though.  
This was just the first idea that came to mind.

-Matt Anderson


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgrade and UI question...

2007-04-20 Thread Matt Anderson
I think you could always edit the WixUI_en-us.wxl file.  I have a feeling this 
is probably frowned on, though.  There's probably a better way.




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgrade and UI question...

2007-04-20 Thread Matt Anderson
Just as a reminder, if you edit WixUI_en-us.wxl, you'll have to use lit.exe to 
rebuild the UI library.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Advertised Shortcuts don't show the correct Icon

2007-04-20 Thread Mikko Järvinen
Scott Palmer wrote:
> Of course that means that the same Icon ID can't be used to point to 
> both an .exe and a document file...
> I'm calling it a WiX bug, as it's clearly brain-dead behavior...

This is Windows Installer/MSI issue. Understanding
how shortcuts and product advertisement work may help
you to digest this behavior.

MSI Icon Table documentation:


-- 
Mikko Järvinen

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users