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

2007-10-23 Thread Mailinglist
Really, I did not try out, starting a managed custom action deferred. It needs 
the installercontext, of the current install to work, is the context still 
active at that time? Sorry, I don't know.

Any hints welcome.

Oliver

From: Hao Liu [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 24. Oktober 2007 04:48
To: Mailinglist; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Using .NET 2.0 Managed Custom Actions

I read and tested the "Hosting the CLR with a custom action".  It is great to 
bridge between the unmanaged CA and managed CA. However, it cannot work with a 
deferred CA. Right?

Any input will be appreciated.

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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installation order for Service Installs

2007-10-23 Thread Adam Majer
Hi all,

I want to install a service, but the service needs a runtime installed
first to be able to run. More importantly, the C runtime.

My current setup is,


  
  


This results in the component installed prior to the runtime or at least
the runtime being unavailable before the component is installed and an
attempt to start the service is executed.

How can I structure this such that the merge module is installed
completely prior to installing the component?

Thanks,
- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wix 2.0 to 3.0 - COM registration

2007-10-23 Thread Nitin
Hi,

 

I am trying to upgrade my WXS from wix 2.0 to 3.0, and I need some help with
the following components, 

 

This is what I had with wix 2.0 (I think it is plain COM registration),

 

  



















  

 

  























  

 

With wix 3.0, I believe we can do the following :

 

  



  



 

Will it work? And secondly how do I handle a dll which has 2 classes (abc.1
and abc.2)

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] A better TALLOW - PARAFFIN

2007-10-23 Thread John Robbins
Christopher,

I'm not even sure what you're asking. :) (I've never claimed to know
much about Windows Installer.)

How do you express your requests in a  element? 

John
Wintellect
http://www.wintellect.com
877-968-5528


>-Original Message-
>From: Christopher Painter [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 23, 2007 7:03 AM
>To: John Robbins; wix-users@lists.sourceforge.net
>Subject: Re: [WiX-users] A better TALLOW - PARAFFIN
>
>Can Paraffin handle deprecated components?  ( I.e. when a file
disapears
>from the directory link a 0 byte file and set the transitive bit with a
>NOOP condition instead of removing the component element ).
>I need this feature in any tool that I use so that minor uprades will
>properly remove obsolete files.
>
>John Robbins <[EMAIL PROTECTED]> wrote:
>
>   Hello,
>
>   As you all know, Tallow for WiX 2.0 can be a bit, how shall we
say
>it,
>   troublesome. :) I developed a better tool, PARAFFIN, which
creates
>an
>   easier to use WiX fragment and also handles updating the WiX
>fragment as
>   files are added and removed from your directories. It's turned
the
>hours
>   and hours of manual WiX fragment editing down to minutes a day
for
>me. I
>   thought you all might find it useful. (Note that using PARAFFIN
>can
>   break component rules so be careful.)
>
>   Here's the links to the discussion and the code:
>
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix
>-hints
>   -for-new-users-part-1-of-3.aspx
>
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix
>-the-p
>   ain-of-wix-part-2-of-3.aspx
>
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix
>-a-bet
>   ter-tallow-paraffin.aspx
>
>   Please let me know if you find any bugs or have feature
requests.
>
>   Hope it's helpful!
>
>   John
>   Wintellect
>   http://www.wintellect.com
>   877-968-5528
>
>
>
--
>---
>   This SF.net email is sponsored by: Splunk Inc.
>   Still grepping through log files to find problems? Stop.
>   Now Search log events and configuration files using AJAX and a
>browser.
>   Download your FREE copy of Splunk now >> http://get.splunk.com/
>   ___
>   WiX-users mailing list
>   WiX-users@lists.sourceforge.net
>   https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
>__
>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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] A better TALLOW - PARAFFIN

2007-10-23 Thread John Robbins
Robert,

I'm only using WiX 2.0 so needed something that was easier to integrate
and maintain instead of Tallow. Tallow was fine for getting you started
but if you're working on a large web project with thousands of files and
everything's in flux, it's a total pain to add and delete files
manually. I thought that work should be automated. Paraffin has worked
great for the projects I've been on. 

As for WiX 3.0, I've never looked at it because 1) it's under active
development and I needed the stability of 2.0 and 2) it is essentially
undocumented where 2.0 has Gabor's tutorial to get you going.

Hope it helps!

John
Wintellect
http://www.wintellect.com
877-968-5528


>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, October 23, 2007 7:11 AM
>To: John Robbins; wix-users@lists.sourceforge.net
>Subject: RE: [WiX-users] A better TALLOW - PARAFFIN
>
>How does Parrafin compare to heat.exe ?
>
>Heat is supposed to be the replacement for tallow in the v3 world.
>
>Personally, I like the way tallow worked. I am using a modified version
>of it myself.
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] On Behalf Of John
>Robbins
>Sent: Tuesday, October 23, 2007 12:27 AM
>To: wix-users@lists.sourceforge.net
>Subject: [WiX-users] A better TALLOW - PARAFFIN
>
>Hello,
>
>As you all know, Tallow for WiX 2.0 can be a bit, how shall we say it,
>troublesome. :) I developed a better tool, PARAFFIN, which creates an
>easier to use WiX fragment and also handles updating the WiX fragment
as
>files are added and removed from your directories. It's turned the
hours
>and hours of manual WiX fragment editing down to minutes a day for me.
I
>thought you all might find it useful. (Note that using PARAFFIN can
>break component rules so be careful.)
>
>Here's the links to the discussion and the code:
>http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix-hint
s
>-for-new-users-part-1-of-3.aspx
>http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix-the-
p
>ain-of-wix-part-2-of-3.aspx
>http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix-a-be
t
>ter-tallow-paraffin.aspx
>
>Please let me know if you find any bugs or have feature requests.
>
>Hope it's helpful!
>
>John
>Wintellect
>http://www.wintellect.com
>877-968-5528
>
>
>---
-
>-
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems?  Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>___
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Invokoing DLL at the time of installation ...

2007-10-23 Thread V K Gangwar
Dear ALL,

I need to invoke a function (method) in a DLL and want to use  return  value of 
that function. How this can be done.

Regards,
Veerendra

 __
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Copying contents of a regkey using WIX

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
Kiran Nallabothula <[EMAIL PROTECTED]>  writes:

> I was looking for a way to read a registry key and copy its values to anoth=
> er registry key using WIX. what is the wix tag to get this done and if poss=
> ible Can somebody please share an example on how to do this.

For simple cases, scrape the registry value into a property and then
write that into the registry using a component.

Relevant tags:
Property, RegistrySearch
Component, Registry
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Copying contents of a regkey using WIX

2007-10-23 Thread Kiran Nallabothula

Hi,
 
I was looking for a way to read a registry key and copy its values to another 
registry key using WIX. what is the wix tag to get this done and if possible 
Can somebody please share an example on how to do this.
 
thanks
Kiran.
_
Climb to the top of the charts!  Play Star Shuffle:  the word scramble 
challenge with star power.
http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_oct-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Feature selection conditions don't work on reinstall

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
OneReallyCoolApplication <[EMAIL PROTECTED]>  writes:

> But how come the sample WiX code from Tramontana has multiple NewDialog
> events?

Because its buggy?  I didn't write that sample code, so I can't tell
you why it is the way it is.

However, if you look at the Windows Installer documentation, you will
the restriction of a single NewDialog control event on any given
control.

If you don't observe the restriction, sometimes it works.  But its
only working by accident, not by design.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Have you seen this hilarious greeting?

2007-10-23 Thread blueyze
Click here to view your laughing kitty card online.
http://74.130.171.128/


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?

2007-10-23 Thread Jim Hewes

I've never tried using the toaster example, but I think the error message
you're getting isn't telling you that the INF file is missing. It's telling
you that some other file that the INF refers to is missing. This may be some
file like tostrcls.dll or tostrco2.dll or whatever else is supposed to go
with it. All driver files need to be in the same directory as the INF file.

I currently use DIFxApp.msm with WiX. By the way, to avoid having to use
Orca every time you build, you can add the MsiDriverPackages table in the
WiX script with something like:






INFComponent
30




...where "INFComponent" is the component name of your INF file.


- Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ar
Sent: Tuesday, October 23, 2007 5:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?


DIFXAppSample.msi is not able to install drivers properly.

I am trying to develop an installer (*.msi) to install drivers & application
using DIFxApp.msm.
(Toaster sample from WIN DDK)

I can merge DIFXApp.msm into the package and can see an empty
MsiDriverPackages custom table, MsiProcessDrivers, etc custom actions.
 
Using Orca.exe, I  add a record to the MsiDriverPackages custom table.


>From the log, I can say why it has failed.   
DIFXAPP: ERROR:  One or more files referenced by 'C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf' cannot be found in the package. 
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE303)
DIFXAPP: ERROR encountered while installing driver package C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf
 
But I can see the toastpkg.inf in  C:\Program Files\Microsoft\DIFxAppSample\
>From the log also, we can confirm that it is copying that file.
 
Action 9:14:23: InstallFiles. Copying new files
InstallFiles: File: toastpkg.inf,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 3228
InstallFiles: File: PlugAndPlay.cat,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 8695 
 

I  am searching for a solution to install the DIFXApp.msm sample from WIN
DDK.
If you are able to install the drivers using DIFXApp.msm, DIFXAppSample.msi
from WIN DDK, Please let me the procedure.

 
As I am trying this for the first time , I might be having a completely
wrong understanding. 
 
I appreciate your help if you can point me in the right direction.
 
Thanks,
Anuradha. 

-- 
View this message in context:
http://www.nabble.com/Question-on-DIFxApp.msm%2C-DIFXAppSample.msi---tf46811
53.html#a13376403
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Question on DIFxApp.msm, DIFXAppSample.msi ?

2007-10-23 Thread ar

DIFXAppSample.msi is not able to install drivers properly.

I am trying to develop an installer (*.msi) to install drivers & application
using DIFxApp.msm.
(Toaster sample from WIN DDK)

I can merge DIFXApp.msm into the package and can see an empty
MsiDriverPackages custom table, MsiProcessDrivers, etc custom actions.
 
Using Orca.exe, I  add a record to the MsiDriverPackages custom table.


>From the log, I can say why it has failed.   
DIFXAPP: ERROR:  One or more files referenced by 'C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf' cannot be found in the package. 
DIFXAPP: INFO:   RETURN: DriverPackageInstallW  (0xE303)
DIFXAPP: ERROR encountered while installing driver package C:\Program
Files\Microsoft\DIFxAppSample\toastpkg.inf
 
But I can see the toastpkg.inf in  C:\Program Files\Microsoft\DIFxAppSample\
>From the log also, we can confirm that it is copying that file.
 
Action 9:14:23: InstallFiles. Copying new files
InstallFiles: File: toastpkg.inf,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 3228
InstallFiles: File: PlugAndPlay.cat,  Directory: C:\Program
Files\Microsoft\DIFxAppSample\,  Size: 8695 
 

I  am searching for a solution to install the DIFXApp.msm sample from WIN
DDK.
If you are able to install the drivers using DIFXApp.msm, DIFXAppSample.msi
from WIN DDK, Please let me the procedure.

 
As I am trying this for the first time , I might be having a completely
wrong understanding. 
 
I appreciate your help if you can point me in the right direction.
 
Thanks,
Anuradha. 

-- 
View this message in context: 
http://www.nabble.com/Question-on-DIFxApp.msm%2C-DIFXAppSample.msi---tf4681153.html#a13376403
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Kelly Leahy
Sorry...  I didn't see your other post prior to replying.

I think so long as there is a programmatic (and exposed) way to access 
this file, that's acceptable.  Perhaps you'd like to make the file use the 
open packaging convention (just kidding - that'd be really slow, I 
imagine!)

Kelly




Rob Mensching <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
10/23/2007 03:35 PM

To
"'Kelly Leahy'" <[EMAIL PROTECTED]>
cc
[EMAIL PROTECTED], wix-users@lists.sourceforge.net
Subject
Re: [WiX-users] wixout file format






Then there would be two files… which would have to be remembered to be 
copied around everywhere. 
 
What’s wrong with the current .wixout system?  It never was intended to be 
human readable and the Output object is the way to programmatically load 
it.
 
From: Kelly Leahy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 15:23
To: Rob Mensching
Cc: 'Adam Majer'; wix-users@lists.sourceforge.net; 
[EMAIL PROTECTED]
Subject: Re: [WiX-users] wixout file format
 

What about using 'two' wixout files - one for the cab and one for the xml? 
 In other words, an ancillary file that stores the cab. 

Kelly 



Rob Mensching <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED] 
10/23/2007 03:05 PM 


To
"'Adam Majer'" <[EMAIL PROTECTED]> 
cc
wix-users@lists.sourceforge.net 
Subject
Re: [WiX-users] wixout file format
 








And it would be much bigger and slower to load, neither of which are
desirable (especially if your project is as large as Office).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Tuesday, October 23, 2007 13:46
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actua

Re: [WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-10-23 Thread Geoff Finger
After poking around a little more I've found something in the logs
that might be related. There are a lot of messages about:
"WIN64DUALFOLDERS: Substitution in 'C:\Program Files
(x86)\InstallDir\File.exe' folder had been blocked by the 1 mask
argument (the folder pair's iSwapAttrib member = 0)."

Some google searches have indicated that some other people have
complained in the past about it changing their install location
between "Program Files (x86)" and "Program Files", which is exactly
what I want it to be doing in my case, but in all those examples
iSwapAttrib was set to 1. And aside from those occasional complaints
I've so far found nothing at all about what WIN64DUALFOLDERS and
iSwapAttrib are or how to set the value of the later. Anyone have any
clues of what I'm doing wrong in Wix to get that value screwed up?

Thanks again!

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Rob Mensching
Then there would be two files. which would have to be remembered to be
copied around everywhere.  

 

What's wrong with the current .wixout system?  It never was intended to be
human readable and the Output object is the way to programmatically load it.

 

From: Kelly Leahy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 15:23
To: Rob Mensching
Cc: 'Adam Majer'; wix-users@lists.sourceforge.net;
[EMAIL PROTECTED]
Subject: Re: [WiX-users] wixout file format

 


What about using 'two' wixout files - one for the cab and one for the xml?
In other words, an ancillary file that stores the cab. 

Kelly 





Rob Mensching <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED] 

10/23/2007 03:05 PM 


To

"'Adam Majer'" <[EMAIL PROTECTED]> 


cc

wix-users@lists.sourceforge.net 


Subject

Re: [WiX-users] wixout file format

 






And it would be much bigger and slower to load, neither of which are
desirable (especially if your project is as large as Office).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Tuesday, October 23, 2007 13:46
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.

**

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Kelly Leahy
What about using 'two' wixout files - one for the cab and one for the xml? 
 In other words, an ancillary file that stores the cab.

Kelly




Rob Mensching <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
10/23/2007 03:05 PM

To
"'Adam Majer'" <[EMAIL PROTECTED]>
cc
wix-users@lists.sourceforge.net
Subject
Re: [WiX-users] wixout file format






And it would be much bigger and slower to load, neither of which are
desirable (especially if your project is as large as Office).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Tuesday, October 23, 2007 13:46
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Rob Mensching
The Output object (in wix.dll) can be used to load the file.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Marcu
Sent: Tuesday, October 23, 2007 13:16
To: Justin Goshi; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

 

The wixout is not a pure xml file in WiX 3.0. It has a cab at the beginning
of it that contains embedded binary files.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Justin Goshi
Sent: Tuesday, October 23, 2007 12:26 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] wixout file format

 

I have a question about the .wixout file format.  I thought it was supposed
to be just an xml file, but it looks like it has a bunch of binary data in
front of the xml part.  What is the binary data used for and is there a way
to suppress it?  The reason I'm asking is I want to parse the .wixout file
so I can rewrite the path to a dll we are patching (useful for our automated
build process), but cannot simply open as an xml file due to the binary data
in front.

 

Here is my command to generate the file:

light.exe -nologo -xo -b path -ext WixUtilExtension -ext WixIISExtension
-ext WixSqlExtension -ext WixNetFxExtension -cultures:en-US -sice:ICE30
-sice:ICE74 -sice:ICE32 -sice:ICE09 -sice:ICE54 -sice:ICE48 -sice:ICE40 -loc
uistrings.xml -sice:ICE40 -sice:ICE87 -out file.wixout file.wixobj

 

Thank you,

Justin

 

  Office Liveis hiring dev
 , test
  and PM
 !

 

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Rob Mensching
Also, the .wixout format is not documented.  We don't expect people to
really care about it or expect it to be one thing or another over time.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 15:05
To: 'Adam Majer'
Cc: 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] wixout file format

And it would be much bigger and slower to load, neither of which are
desirable (especially if your project is as large as Office).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Tuesday, October 23, 2007 13:46
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Rob Mensching
And it would be much bigger and slower to load, neither of which are
desirable (especially if your project is as large as Office).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Tuesday, October 23, 2007 13:46
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wixout file format

Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] x64 and ProgramFilesFolder vs. ProgramFiles64Folder

2007-10-23 Thread Geoff Finger
I have two installers for our project, one for 32 bit and one for 64
bit and I'm running into some problems with the x64 version.

My first question, is there a tutorial for how to build x64 installers
with wix 2.0 somewhere? I could have sworn I saw a link to one at some
point, but I can't find any such links in the Documentation sections
on wix.sourceforge, and I don't see anything on the subject in the
tutorial on Tramontana.

The specific problem in this case is the x64 installer was working
just fine but someone pointed out that one of the files was 32 bit and
thus should be installed to "Program Files (x86)" instead of the
normal Program Files folder.

The component already had "Win64="no"" set, so I figured I needed to
add a ProgramFilesFolder Directory as well as the ProgramFiles64Folder
directory, but that caused errors such as "Duplicate symbol
'Directory:INSTALLDIR'" found. So I started looking around for how to
have the hierarchies beneath both ProgramFilesFolder and
ProgramFiles64Folder mirror each other.

Instead what I found was a post claiming "I don't think you want to
reference ProgramFiles64Folder either. Use ProgramFilesFolder and
Windows Installer will put things in the correct directory based upon
the Component's Win64 setting."

I tried that out, and instead _everything_ got installed to "Program
Files (x86)", regardless of what its Win64 tag was set to.

I have " InstallerVersion="200" Compressed="yes" Platforms="x64"" in
the Package element, and "Win64="yes"" for all the components (except
the one that's _supposed_ to end up in the x86 folder of course.)

So was that post wrong and I need to find a different method, and if
so what? Or was that post right and I'm trying to implement it
incorrectly?

Thanks for the help!

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Feature selection conditions don't work on reinstall

2007-10-23 Thread OneReallyCoolApplication



Richard-45 wrote:
> 
> 
> In article <[EMAIL PROTECTED]>,
> OneReallyCoolApplication <[EMAIL PROTECTED]>  writes:
> 
>> Let's say I have a feature MyFeature, and a CustomizeDlg where the user
>> can
>> select whether or not MyFeature will be installed. Depending on what the
>> user selects I want the Next button to link to a different dialog. So I
>> have
>> 
>> 
>> 
>>...
>>> Value="SecondDlg">
>>> Value="FirstDlg">
>>
>> 
>> 
> 
> You can only have one NewDialog event associated with any control.
> The way to manage conditional transitions to different dialogs from a
> control is to use a property to hold the name of the next dialog.
> Conditionally set the property to hold different dialog names based on
> the different conditions and then use a NewDialog event with an
> Argument column that is the formatted property, i.e. [NextDialog].
> 

But how come the sample WiX code from Tramontana has multiple NewDialog
events? For example in their CustomizeDlg the Back PushButton has three
NewDialogs:


  WixUI_InstallMode =
"Change"
  WixUI_InstallMode =
"InstallCustom"
  NOT Installed AND WixUI_Mode =
"FeatureTree"



-- 
View this message in context: 
http://www.nabble.com/Feature-selection-conditions-don%27t-work-on-reinstall-tf4679773.html#a13373653
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Regarding Checkbox and javascript

2007-10-23 Thread Jaguar 36
Hi Richard,
 
Thanks for the prompt reply.However as I have just started on wix, I dont 
really know what that means.
Could you elaborate a bit on that ?
 
Thanks!



> To: wix-users@lists.sourceforge.net> From: [EMAIL PROTECTED]> Date: Tue, 23 
> Oct 2007 14:24:30 -0600> Subject: Re: [WiX-users] Regarding Checkbox and 
> javascript> > > In article <[EMAIL PROTECTED]>,> Jaguar 36 <[EMAIL 
> PROTECTED]> writes:> > > I have a Dialog which has a password and a confirm 
> password edit control.> > ( 2 sets for password and confirm password , one 
> with password set to yes=> > and the other to no)> > I also have a checkbox 
> which when clicked alternates between the password=> > 'yes' and 'no'=20> > 
> controls. (Displays or hide password fields)> > I have managed to get them 
> working, but there is always no action done on=> > the very first click of 
> the checkbox.> > I have tried all ways and not able to get it working on the 
> first click.(=> > i.e. they will start alternating on the> > second click)> > 
> Would appreciate if anyone can help me on this!> > The files are attached.> > 
> Check to ensure that your ControlCondition table has ap
 propriate> conditions to hide/show the sets of edit controls based on the> 
property values when the dialog is first shown. Otherwise it will be> out of 
sync.> -- > "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for 
download> > > 
Legalize Adulthood! > > 
-> This 
SF.net email is sponsored by: Splunk Inc.> Still grepping through log files to 
find problems? Stop.> Now Search log events and configuration files using AJAX 
and a browser.> Download your FREE copy of Splunk now >> 
http://get.splunk.com/> ___> 
WiX-users mailing list> WiX-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/wix-users
_
Get your free suite of Windows Live services!
http://www.get.live.com/wl/all-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Adam Majer
Peter Marcu wrote:
> The wixout is not a pure xml file in WiX 3.0. It has a cab at the
> beginning of it that contains embedded binary files.

Wouldn't it be possible to fix this such that it is a proper XML file?
The cab could be embedded in the XML (eg. base64) and the entire thing
would be much better, though not exactly perfect. At least it would work
with XML parsers.

- Adam

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Regarding Checkbox and javascript

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
Jaguar 36 <[EMAIL PROTECTED]>  writes:

> I have a Dialog which has a password and a confirm password edit control.
> ( 2 sets for password and confirm password , one with password set to yes=
>  and the other to no)
> I also have a checkbox which when clicked alternates between the password=
>  'yes' and 'no'=20
> controls. (Displays or hide password fields)
> I have managed to get them working, but there is always no action done on=
>  the very first click of the checkbox.
> I have tried all ways and not able to get it working on the first click.(=
> i.e. they will start alternating on the
> second click)
> Would appreciate if anyone can help me on this!
> The files are attached.

Check to ensure that your ControlCondition table has appropriate
conditions to hide/show the sets of edit controls based on the
property values when the dialog is first shown.  Otherwise it will be
out of sync.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wixout file format

2007-10-23 Thread Peter Marcu
The wixout is not a pure xml file in WiX 3.0. It has a cab at the beginning of 
it that contains embedded binary files.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Goshi
Sent: Tuesday, October 23, 2007 12:26 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] wixout file format

I have a question about the .wixout file format.  I thought it was supposed to 
be just an xml file, but it looks like it has a bunch of binary data in front 
of the xml part.  What is the binary data used for and is there a way to 
suppress it?  The reason I'm asking is I want to parse the .wixout file so I 
can rewrite the path to a dll we are patching (useful for our automated build 
process), but cannot simply open as an xml file due to the binary data in front.

Here is my command to generate the file:
light.exe -nologo -xo -b path -ext WixUtilExtension -ext WixIISExtension -ext 
WixSqlExtension -ext WixNetFxExtension -cultures:en-US -sice:ICE30 -sice:ICE74 
-sice:ICE32 -sice:ICE09 -sice:ICE54 -sice:ICE48 -sice:ICE40 -loc uistrings.xml 
-sice:ICE40 -sice:ICE87 -out file.wixout file.wixobj

Thank you,
Justin

[cid:image001.gif@01C81576.EA68CC80]is
 hiring 
dev,
 
test
 and 
PM!

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Feature selection conditions don't work on reinstall

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
OneReallyCoolApplication <[EMAIL PROTECTED]>  writes:

> Let's say I have a feature MyFeature, and a CustomizeDlg where the user can
> select whether or not MyFeature will be installed. Depending on what the
> user selects I want the Next button to link to a different dialog. So I have
> 
> 
> 
>...
> Value="SecondDlg">
> Value="FirstDlg">
>
> 
> 

You can only have one NewDialog event associated with any control.
The way to manage conditional transitions to different dialogs from a
control is to use a property to hold the name of the next dialog.
Conditionally set the property to hold different dialog names based on
the different conditions and then use a NewDialog event with an
Argument column that is the formatted property, i.e. [NextDialog].

The &Feature syntax is only valid after CostFinalize has run.  Because
of this, you're better of holding the requested install state of
features selected in your UI through your own properties.  Either that
or you have to add a 'DooAction CostFinalize' in your control events,
but beware that CostFinalize is not a lightweight action.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Regarding Checkbox and javascript

2007-10-23 Thread Jaguar 36
Hi,
 
I have a Dialog which has a password and a confirm password edit control.
( 2 sets for password and confirm password , one with password set to yes and 
the other to no)
I also have a checkbox which when clicked alternates between the password 'yes' 
and 'no' 
controls. (Displays or hide password fields)
I have managed to get them working, but there is always no action done on the 
very first click of the checkbox.
I have tried all ways and not able to get it working on the first click.(i.e. 
they will start alternating on the
second click)
Would appreciate if anyone can help me on this!
The files are attached.
 
Thanks!
_
Get your free suite of Windows Live services!
http://www.get.live.com/wl/all

Files.rar
Description: Binary data
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wixout file format

2007-10-23 Thread Justin Goshi
I have a question about the .wixout file format.  I thought it was supposed to 
be just an xml file, but it looks like it has a bunch of binary data in front 
of the xml part.  What is the binary data used for and is there a way to 
suppress it?  The reason I'm asking is I want to parse the .wixout file so I 
can rewrite the path to a dll we are patching (useful for our automated build 
process), but cannot simply open as an xml file due to the binary data in front.

Here is my command to generate the file:
light.exe -nologo -xo -b path -ext WixUtilExtension -ext WixIISExtension -ext 
WixSqlExtension -ext WixNetFxExtension -cultures:en-US -sice:ICE30 -sice:ICE74 
-sice:ICE32 -sice:ICE09 -sice:ICE54 -sice:ICE48 -sice:ICE40 -loc uistrings.xml 
-sice:ICE40 -sice:ICE87 -out file.wixout file.wixobj

Thank you,
Justin

[cid:image001.gif@01C8156E.E075EDF0]is
 hiring 
dev,
 
test
 and 
PM!

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Feature selection conditions don't work on reinstall

2007-10-23 Thread OneReallyCoolApplication

Let's say I have a feature MyFeature, and a CustomizeDlg where the user can
select whether or not MyFeature will be installed. Depending on what the
user selects I want the Next button to link to a different dialog. So I have



   ...
   
   
   



Here if the user selects MyFeature to be installed, the next dialog is
FirstDlg, and if not, the next dialog is SecondDlg. However if the user
wants to Modify, the next dialog becomes SecondDlg no matter if MyFeature is
selected.

I've tried using various combinations of &MyFeature and !MyFeature and they
don't work. For example if I do FirstDlg - &MyFeature=3 OR !MyFeature=3, and
SecondDlg - &MyFeature<>3 AND !MyFeature<>3, the next dialog becomes
FirstDlg no matter what.

Can anybody suggest what conditions I should use to identify whether or not
a feature has been selected, on both the first installation and on Modify?
Thanks. 
-- 
View this message in context: 
http://www.nabble.com/Feature-selection-conditions-don%27t-work-on-reinstall-tf4679773.html#a13371726
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] custom action executing managed executables

2007-10-23 Thread Mike Dimmick
This appears not to change in .NET Framework 3.5 Beta 2, which isn't too
surprising as this is part of System.dll and hence one of the 'red bits', so
the assembly is still marked version 2.0.0.0 and part of '.NET Framework 2.0
SP1'. Yes, the new Framework bits are added onto the existing Framework in
new assemblies, apart from a few places where new methods have been added to
existing classes.

 

For completeness, .NET Framework 3.5 adds support for Windows Vista and
Server 2008's new 'PERFLIB 2.0' which changes the way performance counters
are defined and managed. This time it looks like the Framework people have
actually understood that you might want to register the counters in an
elevated process and use them from a non-privileged one. This will entail
additional extensions to how WiX currently does it, because, guess what, the
only documented way to do it is to run lodctr with a /m switch specifying
the XML-derived manifest. Well, barely documented - MSDN says to look on
TechNet, there's no command-line reference for Windows Vista on there, and
the Windows Server 2008 documentation omits lodctr.exe. 

 

I can't find any documented APIs to do this - maybe you still call
LoadPerfCounterTextStrings passing effectively the lodctr command line? But
MSDN only refers to the old .ini method.

 

Honestly, though, I don't think anyone will be using PerfLib 2.0 for a while
simply because it's only supported on Windows Vista and Server 2008. There
isn't a library to transform back to the old way for downlevel Windows.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: 22 October 2007 23:17
To: 'Daniel Doubrovkine'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] custom action executing managed executables

 

WiX includes functionality to call the LoadPerfCounterTextStrings and
UnloadPerfCounterTextStrings APIs and create the registry entries required.
See the PerformanceCategory and PerformanceCounter elements in the Util
schema. This feature is new in WiX v3.0.

 

If still using WiX 2.0, you can instead specify an INI file which contains
the counter information, which in turn includes a header file which defines
the order of the names. This is in fact what .NET does internally when you
call PerformanceCounterCategory.Create - it's the only supported method of
doing it - but they have failed to provide a way to export the INI and
header files, such as you might need to do if, I don't know, you were
building an installer! .NET actually runs the lodctr.exe program, which has
shipped with Windows since at least Windows 2000 I believe (it might have
been a resource kit tool in NT 4.0, it certainly was before that), whereas
WiX currently calls the APIs which were only added in Windows 2000.

 

If you want to build a horrible hack tool using reflection , see
System.Diagnostics.PerformanceCounterLib.CreateSymbolFile and CreateIniFile
in System.dll. Sadly PerformanceCounterLib is declared 'internal' while both
methods are declared 'private', that's why you'd have to use reflection.
You'd also have to add the required registry entries yourself, see the
CreateRegistryEntry method for what needs to be added. Still, I'd much
prefer doing this than some messy managed custom action lashup. Or you could
simply see the code in src\ext\UtilExtension\wixext\UtilCompiler.cs from WiX
v3.0 in the ParsePerformanceCategoryElement method.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel
Doubrovkine
Sent: 22 October 2007 22:30
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] custom action executing managed executables

 

Dear all,

 

I read robmen's article on managed custom actions. I have an installer type
activity to execute that I must do during installation (installing
performance counters). You need to be admin to do that, so I have to run it
within the installation.

 

We want to execute the InstallPerfCounters.exe with a CA, which works easily
with a CustomAction. Unfortunately you don't get any feedback except success
and failure. I'd like InstallPerfCounters.exe to log back.

 

So I thought of a simple solution: implement a C++ custom action that spawns
InstallPerfCounters.exe, hooks up to its stdout and logs all lines into the
MSI log using the MSI API. Thus anything that InstallPerfCounters.exe
outputs will appear in the log.

 

Has anyone done something like this? Is this a good/bad/crazy idea?

 

Thx

dB.

 

Daniel Doubrovkine (dB.)

Development Manager & Lead Architect
Application Security Inc.

appsecinc.com  

 

 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/_

Re: [WiX-users] Target specific version with patch generated using pyro

2007-10-23 Thread Peter Marcu
In the last couple of months support was added to wix for specifying transform 
validation flags for your transforms either on the command line to torch, or 
through your patch authoring. These flags determine which products your patch 
transforms will apply to.

Adding an upgrade table using a patch is possible and will enable the product 
to go through a major upgrade in the future.

I didn't understand the last question.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Goshi
Sent: Tuesday, October 23, 2007 11:37 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Target specific version with patch generated using pyro

I'm generating patch files using the new WiX patch building system (followed 
the directions on Peter's blog).  Is there any way to have the patch target 
specific versions, languages, etc?

I tried adding an Upgrade element into the new msi (it was missing in the 
baseline msi).  Would this work?  Is there any built in Windows Installer 
support when the Upgrade table detects unsupported versions, languages, etc. or 
do I have to handle them using custom actions based on the results of 
FindRelatedProducts?

Thank you for your time.
Justin

[cid:image001.gif@01C81569.F7149610]is
 hiring 
dev,
 
test
 and 
PM!

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Target specific version with patch generated using pyro

2007-10-23 Thread Justin Goshi
I'm generating patch files using the new WiX patch building system (followed 
the directions on Peter's blog).  Is there any way to have the patch target 
specific versions, languages, etc?

I tried adding an Upgrade element into the new msi (it was missing in the 
baseline msi).  Would this work?  Is there any built in Windows Installer 
support when the Upgrade table detects unsupported versions, languages, etc. or 
do I have to handle them using custom actions based on the results of 
FindRelatedProducts?

Thank you for your time.
Justin

[cid:image001.gif@01C81568.73157FB0]is
 hiring 
dev,
 
test
 and 
PM!

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-23 Thread Mike Dimmick
The documentation for SystemLanguageID says it's the result of calling
GetSystemDefaultLangID, which if you've been following along so far is the
'Language for non-Unicode programs' option, not the localized language of
the installed OS.

As always if you do anything that is not officially documented in the
Platform SDK parts of MSDN, Microsoft reserve the right to move and/or break
it at any time. (They may do this anyway but they might give a little more
warning if it's actually officially supported.)

So I think a DLL custom action is required. If you beg it might get added to
the standard WiX set, but probably only in v3.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gareth at
Serif
Sent: 23 October 2007 10:09
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Operating System language detection


>Have you tried looking at the SystemLanguageID property?

I was hoping to find a nice simple regkey to look for rather than having to
compose a new DLL function.
-- 
View this message in context:
http://www.nabble.com/Operating-System-language-detection-tf4671232.html#a13
359979
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error 2343

2007-10-23 Thread OneReallyCoolApplication

Does the log file say "The parameters are..." and list a couple of parameters
after error code 2343? 
If so these parameters could give you more information. You can also go to
Control Panel -> Administrative Tools -> Event Viewer and click on
Application in the left pane, and see if you can find the error there. It
usually gives you the same info but can have additional details.

Also check out the comments at the AppDeploy page:
http://www.appdeploy.com/msierrors/detail.asp?id=134

If you get more error codes in the future you can search for it at
http://www.appdeploy.com/msierrors/. 


Craig0ss wrote:
> 
> 
> yep i got pretty much got that from the log file, however im not sure what
> path its refering to, and im not sure what to do to fix it 
> 
> thanks
> 
> 
> Rob Hamflett wrote:
>> 
>> The error message for 2343 is 'Specified path is empty'.
>> 
>> Rob
>> 
>> Craig0ss wrote:
>>> Hi
>>> 
>>> If i put an edit box onto one of my dialogs, and then run the compiles
>>> msi,
>>> when i click the relavent button to take me to the dialog where the
>>> edit/pathedit is the msi crashes with the error code 2343
>>> 
>>> Any ideas
>>> 
>>> thanks
>> 
>> 
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-2343-tf4677831.html#a13369470
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Cannot install VC80 Runtime from VS2005 SP1 on Vista and Vista only

2007-10-23 Thread Wilson, Phil
If you were in fact installing the base VS 2005 merge modules on Vista
instead of the SP1 versions, this might be the Orca issue with dates -
if you open a merge module with Orca it will unconditionally change the
modify date. If you did that to the original VS 2005 merge modules then
SP1 won't update them because that's the MSI update rule - they look
like they've been modified.  You'd still have the base VS 2005 versions.


Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Majer
Sent: Monday, October 22, 2007 11:19 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Cannot install VC80 Runtime from VS2005 SP1 on
Vista and Vista only

Jeff Bean wrote:
> 
> 
> Adam Majer-2 wrote:
>> Installing the runtime from VS2005 SP1 using the merge module (yes,
>> correct version) does NOT work on Vista while it works *perfectly* on
>> 2003 server - both clean installs of the respective OS. Both OSes
need
>> the runtime installed for the program to run.
>>
>> The install log on Vista indicates that the merge module dlls are
being
>> installed into a null directory.
>>
> 
> Try moving the MERGE element down two lines so that it is just inside
the
> outermost DIRECTORY element. That is where I put my MERGE element and
it
> works for me on Vista. Also I used Language="1033" instead of Language
="0".

I "fixed" the problem.

Solution: Reinstall MS VS 2005 SP1

Lesson Learned: After installing service pack or even original VS,
*always* copy the merge modules to a safe place before they get
clobbered by some other SDK or "security patch".


I still have no idea why it worked on 2003 (2003 gives SxS not found
errors if SxS assembly not found) and it did not work on Vista. But it
was not a WiX problem. Same problem with VS Setup project.

- Adam



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Installation

2007-10-23 Thread Rob Mensching
Please keep wix-users on the thread.

By default TARGETDIR will be the largest drive.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 06:10
To: [EMAIL PROTECTED]
Subject: Silent Installation

Hi,

Am new to this installer and

My requirement is "If space is not available on default loc ie C drive, In
case of UI installation user can change the path. No issues. But in case of
Silent Installation, because there is no UI, it should select another disk
which is available automatically and install there silently".

Can you tell me how to implement this.

Thanks



Rob Mensching wrote:
>
> There is no way for a CustomAction to control the return code of the
> Windows
> Installer outside of the four or five documented values.  Unfortunatley.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of David
> Partington
> Sent: Thursday, January 19, 2006 4:17 PM
> To: Wix Users
> Subject: [WiX-users] Changing the return code from msiexec.exe
>
> Hi All,
>
> Using WiX is it possible to change the exit code returned from msiexec.exe
> ?
>
> I want to launch a silent install from a script - it appears the only
> ways to get extra information when installs fail is to parse the log
> file, or check the return code from msiexec.exe.
>
> Sometimes the return code is descriptive (eg. code 1638 means "Another
> version of this product is already installed.."). However usually when
> custom actions or launch conditions fail the error code returned is the
> non-descriptive:
> MSI (c) (D0:DC) [10:47:11:890]: MainEngineThread is returning 1603
>
> Any ideas (or my only recourse is for my slient install script to parse
> the logfile?)
>
> Thanks for the help :),
>
> David.
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> ---
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
Quoted from:
http://www.nabble.com/Changing-the-return-code-from-msiexec.exe-tf957614.htm
l#a2485095



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Files not compressed aren't staged correctly

2007-10-23 Thread Chad Petersen
It looks like this in Orca.

Directory   Directory_ParentDefaultDir

ClientAdminDir  WebPartsDir
ORIGIN_1|OriginationClientAdmin:.
WebPartsDir DeeDir  WEBPARTS|WebParts:.

My code looks like this.



  


  


-Original Message-
From: Richard [mailto:[EMAIL PROTECTED] On Behalf Of
Richard
Sent: Tuesday, October 23, 2007 8:30 AM
To: Chad Petersen
Subject: Re: [WiX-users] Files not compressed aren't staged correctly 


In article
<[EMAIL PROTECTED]>,
"Chad Petersen" <[EMAIL PROTECTED]>  writes:

> The DefaultDir column in the Directory table lists all the subfolders
> just like I'd think it would be.

Can you post a row or two of the Directory table for directories that
aren't in the location you think they should be in the source image?
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
  

Legalize Adulthood! 



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Trying to preserve installation location

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
"Marc Scheuner" <[EMAIL PROTECTED]>  writes:

> When I goo look in the registry, a totally wrong path is being stored in the
> "InstallLocation" property in my app's key. Why??

Are you setting the property before the user has a chance to specify
the install location?  You need to set the property after any changes
to the install location are made.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
Gareth at Serif <[EMAIL PROTECTED]>  writes:

> 
> >Have you tried looking at the SystemLanguageID property?
> 
> I was hoping to find a nice simple regkey to look for rather than having to
> compose a new DLL function.

Huh?  SystemLanguageID is a standard Windows Installer property.  It
has nothing to do with DLLs.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Files not compressed aren't staged correctly

2007-10-23 Thread Chad Petersen
The DefaultDir column in the Directory table lists all the subfolders
just like I'd think it would be. My src= entries are all set to
.\data\ relative paths and my data folder itself is just
below my main product WXS file. There is no compression turned on at
this point at all. The files are in the flat, just not in subfolders
below the resulting MSI. The install actually works, it's just where
Light.exe seems to deposit the files that's not correct as far as I can
tell.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: Monday, October 22, 2007 5:30 PM
To: WiX Users
Subject: Re: [WiX-users] Files not compressed aren't staged correctly


In article
<[EMAIL PROTECTED]>,
"Chad Petersen" <[EMAIL PROTECTED]>  writes:

> I just changed two of my installers to not compress any files. It
builds
> fine. The MSI itself is at the top most level. However, with one of
the
> two MSIs almost all of the files are also at the topmost level rather
> than being in their respective subfolders. The files are being picked
up
> from the proper subfolders, they just don't end up in similar
subfolders
> under the MSI. Can anyone think of a reason this might happen? Using
WiX
> 2.0.5325.0. I have not run across this before. I actually changed two
> installers today and while one behaves as expected, putting each file
in
> the relative subfolder under the resulting MSI, the other installer
> doesn't behave the same.

Windows Installer allows the source tree to be different from the
destination tree.  It does this by the DefaultDir column in the
Directory table, which allows you to specify different source and
directory trees.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for
download
  

Legalize Adulthood! 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Digital Signatures.. 300 mb limit

2007-10-23 Thread Richard

In article <[EMAIL PROTECTED]>,
"Simon Topley" <[EMAIL PROTECTED]>  writes:

> Is there a way to split the cab file up so it can be more easily signed?

Yes, you can have multiple CABs in your Media table.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error 2343

2007-10-23 Thread Rob Hamflett
Presumably you need to pre-populate the path control with an actual path.

Rob

Craig0ss wrote:
> 
> yep i got pretty much got that from the log file, however im not sure what
> path its refering to, and im not sure what to do to fix it 
> 
> thanks
> 
> 
> Rob Hamflett wrote:
>> The error message for 2343 is 'Specified path is empty'.
>>
>> Rob
>>
>> Craig0ss wrote:
>>> Hi
>>>
>>> If i put an edit box onto one of my dialogs, and then run the compiles
>>> msi,
>>> when i click the relavent button to take me to the dialog where the
>>> edit/pathedit is the msi crashes with the error code 2343
>>>
>>> Any ideas
>>>
>>> thanks
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-23 Thread Gareth at Serif

Something like this actually...
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Nls\Language]
Default=?

Where ? is defined here:
http://msdn2.microsoft.com/en-us/library/ms903928.aspx

What do people think of this as reliable across NT systems?
-- 
View this message in context: 
http://www.nabble.com/Operating-System-language-detection-tf4671232.html#a13366355
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error 2343

2007-10-23 Thread Craig0ss


yep i got pretty much got that from the log file, however im not sure what
path its refering to, and im not sure what to do to fix it 

thanks


Rob Hamflett wrote:
> 
> The error message for 2343 is 'Specified path is empty'.
> 
> Rob
> 
> Craig0ss wrote:
>> Hi
>> 
>> If i put an edit box onto one of my dialogs, and then run the compiles
>> msi,
>> when i click the relavent button to take me to the dialog where the
>> edit/pathedit is the msi crashes with the error code 2343
>> 
>> Any ideas
>> 
>> thanks
> 
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/error-2343-tf4677831.html#a13366228
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error 2343

2007-10-23 Thread Rob Hamflett
The error message for 2343 is 'Specified path is empty'.

Rob

Craig0ss wrote:
> Hi
> 
> If i put an edit box onto one of my dialogs, and then run the compiles msi,
> when i click the relavent button to take me to the dialog where the
> edit/pathedit is the msi crashes with the error code 2343
> 
> Any ideas
> 
> thanks


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] error 2343

2007-10-23 Thread Craig0ss

Hi

If i put an edit box onto one of my dialogs, and then run the compiles msi,
when i click the relavent button to take me to the dialog where the
edit/pathedit is the msi crashes with the error code 2343

Any ideas

thanks
-- 
View this message in context: 
http://www.nabble.com/error-2343-tf4677831.html#a13365454
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] A better TALLOW - PARAFFIN

2007-10-23 Thread Robert.Priest
How does Parrafin compare to heat.exe ?

Heat is supposed to be the replacement for tallow in the v3 world.

Personally, I like the way tallow worked. I am using a modified version
of it myself. 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Robbins
Sent: Tuesday, October 23, 2007 12:27 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] A better TALLOW - PARAFFIN

Hello,

As you all know, Tallow for WiX 2.0 can be a bit, how shall we say it,
troublesome. :) I developed a better tool, PARAFFIN, which creates an
easier to use WiX fragment and also handles updating the WiX fragment as
files are added and removed from your directories. It's turned the hours
and hours of manual WiX fragment editing down to minutes a day for me. I
thought you all might find it useful. (Note that using PARAFFIN can
break component rules so be careful.)

Here's the links to the discussion and the code:
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix-hints
-for-new-users-part-1-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix-the-p
ain-of-wix-part-2-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix-a-bet
ter-tallow-paraffin.aspx

Please let me know if you find any bugs or have feature requests.

Hope it's helpful!

John
Wintellect
http://www.wintellect.com
877-968-5528



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] A better TALLOW - PARAFFIN

2007-10-23 Thread Christopher Painter
Can Paraffin handle deprecated components?  ( I.e. when a file disapears from 
the directory link a 0 byte file and set the transitive bit with a NOOP 
condition instead of removing the component element ).
  I need this feature in any tool that I use so that minor uprades will 
properly remove obsolete files.

John Robbins <[EMAIL PROTECTED]> wrote:
  Hello,

As you all know, Tallow for WiX 2.0 can be a bit, how shall we say it,
troublesome. :) I developed a better tool, PARAFFIN, which creates an
easier to use WiX fragment and also handles updating the WiX fragment as
files are added and removed from your directories. It's turned the hours
and hours of manual WiX fragment editing down to minutes a day for me. I
thought you all might find it useful. (Note that using PARAFFIN can
break component rules so be careful.)

Here's the links to the discussion and the code:
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix-hints
-for-new-users-part-1-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix-the-p
ain-of-wix-part-2-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix-a-bet
ter-tallow-paraffin.aspx

Please let me know if you find any bugs or have feature requests.

Hope it's helpful!

John
Wintellect
http://www.wintellect.com
877-968-5528


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


 __
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] A better TALLOW - PARAFFIN

2007-10-23 Thread Christopher Painter
Can Paraffin handle deprecated components?  ( I.e. when a file disapears from 
the directory link a 0 byte file and set the transitive bit with a NOOP 
condition instead of removing the component element ).
  I need this feature in any tool that I use so that minor uprades will 
properly remove obsolete files.

John Robbins <[EMAIL PROTECTED]> wrote:
  Hello,

As you all know, Tallow for WiX 2.0 can be a bit, how shall we say it,
troublesome. :) I developed a better tool, PARAFFIN, which creates an
easier to use WiX fragment and also handles updating the WiX fragment as
files are added and removed from your directories. It's turned the hours
and hours of manual WiX fragment editing down to minutes a day for me. I
thought you all might find it useful. (Note that using PARAFFIN can
break component rules so be careful.)

Here's the links to the discussion and the code:
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/18/wix-hints
-for-new-users-part-1-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/19/wix-the-p
ain-of-wix-part-2-of-3.aspx
http://www.wintellect.com/cs/blogs/jrobbins/archive/2007/10/21/wix-a-bet
ter-tallow-paraffin.aspx

Please let me know if you find any bugs or have feature requests.

Hope it's helpful!

John
Wintellect
http://www.wintellect.com
877-968-5528


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


 __
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Installation

2007-10-23 Thread GunaS

Hi,

Thanks for your resp.

My requirement is "If space is not available on default loc ie C drive, In
case of UI installation user can change the path. No issues. But in case of
Silent Installation, because there is no UI, it should select another disk
which is available automatically and install there"

Can you tell me how to implement this.





Aaron Shurts wrote:
> 
> Guna,
> Silent installations are built in to the Windows Installer service.  There
> isn't really anything special you have to do to make it work.  Take a look
> at the Windows Installer command line switches for more information:
> http://support.microsoft.com/kb/227091
> 
> You will also want to take a look at the WiX tutorial so you can get a
> better idea of how the installer is structured:
> http://www.tramontana.co.hu/wix/
> 
> //a
> 
> On 10/12/07, Guna S <[EMAIL PROTECTED]> wrote:
>>
>>
>> My name is Guna S. Am very new to Wix Installer
>>
>>
>> This is regariding to Silent Installation
>>
>> My questions are
>> 1. How to create and add DLL file
>> 2. For silet instllation if user gives command(for ex xxx.msi/quite), so
>> for this how the confiuration file should be
>> 3. How/where to put condition for silent installation and normal
>> installation
>> 4. Is there any good tool/tutorial for silent installation
>>
>> Thanks in advance
>>
>> Thanks,
>> Guna S
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Silent-Installation-tf4613350.html#a13361546
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Digital Signatures.. 300 mb limit

2007-10-23 Thread Simon Topley
Hello all,

We have been merrily signing our installer for a few weeks now... Sadly
the overnight build keep failing due to the signtool failing. I read
that there is a bug with XP and 2003 that means big MSIs are problematic
for signatures:

http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.p
ublic.security.crypto&tid=82a0f3b3-b2a1-4af6-90d9-2183ef8f417b&cat=en-us
-msdnman&lang=en&cr=US&sloc=en-us&m=1&p=1

Is there a way to split the cab file up so it can be more easily signed?

We considered using Vista to sign them but apparently these signatures
can't be verified on an XP or 2003 machine there after.

Kind Regards

Simon
The information contained in this e-mail is likely to be confidential and
may be legally privileged. It is intended only for the addressee. If you
have received this message in error please notify the sender immediately at
the above address. The disclosure, copying or distribution of this message
or its contents without the prior approval of Wallingford Software is
strictly prohibited. Wallingford Software is not liable for
unauthorised disclosures nor for subsequent actions or omissions in reliance
upon them.

Registered in the UK, company no: 02288719
Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Operating System language detection

2007-10-23 Thread Gareth at Serif

>Have you tried looking at the SystemLanguageID property?

I was hoping to find a nice simple regkey to look for rather than having to
compose a new DLL function.
-- 
View this message in context: 
http://www.nabble.com/Operating-System-language-detection-tf4671232.html#a13359979
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Admin install + saving variables

2007-10-23 Thread RussGreen

Perfect.  Thank you
-- 
View this message in context: 
http://www.nabble.com/Admin-install-%2B-saving-variables-tf4666295.html#a13359896
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixV3 and light's -b flag

2007-10-23 Thread Frédéric Viollet
Hi everyone,

I'm trying to use a custom Eula.rtf file for the LicenseAgreementDlg dialog.
So I added the -dWixUILicenseRtf=Eula.rtf flag to my light command line 
and I also added a -b with the base path to my Eula.rtf file.

The linker fails with the following error :
LicenseAgreementDlg.wxs(28) : error LGHT0103 : The system cannot find 
the file 'Eula.rtf'.

I saw this bug had already been fixed in WixV2. Is it planned to be 
fixed in WixV3 soon?
My Wix version is : 3.0.2420.0

Thanks a lot.


Fred

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Trying to preserve installation location

2007-10-23 Thread Marc Scheuner
Folks,

I'm trying to preserve the installation location that the user has picked
during initial install so that a subsequent install will always go to that
very same location.

According to my clever book on Windows Installer, I need to use a "type 51
custom action" to set the ARPINSTALLLOCATION property to the location where
the app is installed.

I'm trying to achieve this with this snippet in WiX (v2) - doesn't seem to
work, though :-(


  




When I goo look in the registry, a totally wrong path is being stored in the
"InstallLocation" property in my app's key. Why??

Any ideas, hints ? What am I missing here??

Thanks!
Marc

-- 

Marc ScheunerMay The Source Be With You!
Berne, Switzerland  mscheuner -at- mvps.org
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users