Re: [WiX-users] DIFx prompt shows up behind UI

2007-01-19 Thread Jeremy Farrell
> From: Bob Arnson [mailto:[EMAIL PROTECTED] 
> 
> J. J. Farrell wrote:
> > At the moment I'm setting these SetupAPI parameters to 
> > NULL. I'm guessing from Bob's message that I can solve
> > this problem by passing a handle to the Installer UI
> > window instead of NULL. Does this sound right? I know
> > almost nothing about Windows UI programming, so my
> > main question is: how should a C deferred custom
> > action get hold of a handle to the installer UI window
> > for passing to these SetupAPI routines?
> 
> Possibly. I thought there was a WiX function that returned the
> active installer window but I can't find it at the moment. You
> might want to check out GetForegroundWindow.

Thanks Bob. I ended up with

   hWindow = FindWindow("MsiDialogNoCloseClass", NULL);

To find the Installer's UI window. The class name varies with
the style of the window, but a call of this sort should be able
to find a window associated with the Installer. Passing this
handle to the SetupAPI functions solved my problem of pop-ups
appearing behind the Installer UI window.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Text Field scrolling to end

2007-01-19 Thread Magus

I have dialog pushboxes that are suppose to be disabled until someone scrolls
to the end of my End User License Agreement.  Is there a way in Wix to
condition such an event?  
-- 
View this message in context: 
http://www.nabble.com/Text-Field-scrolling-to-end-tf3043718.html#a8460898
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How do I override an imported .wixlib file's actions?

2007-01-19 Thread Quinton Tormanen
When I added DIFxApp to my installer, I can no longer use that installer
to install my app on Windows 98. I know why this is happening. That is,
DIFxApp only supports Win2K and newer. However, I have the components
that have the Driver* attributes made conditional, but this doesn't keep
the actions brought in by DIFxApp.wixlib from running and calling
MsiProcessDrivers from the DLL, which can't be loaded on Win98. So, it
seems easy enough to me to just make those actions conditional based on
the OS version, but how do I change that since they come from wixlib? Or
is there another approach?
 
Thanks.
 
--Quinton
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] package ASP.NET application

2007-01-19 Thread Levi Wilson

You are correct sir...that should do it.  In version 3 of WiX however you
would use heat.exe

On 1/19/07, Dhaval Patel <[EMAIL PROTECTED]> wrote:


Use tallow.exe, I believe. It should be able to create a fragment for all
those files that you can use within WIX (I have never used it for files, but
it worked like a charm for a huge registry entry I had to do on one of my
projects recently).
Again, just follow the tutorial for using tallow.exe, Oleg.

Correct me if I am wrong on this one, fellow WIX users !?!?


On 1/19/07, Ogurok, Oleg <[EMAIL PROTECTED]> wrote:
>
>  Dhaval,
>
>
>
> Thanks for your help.
>
> My ASP.NET app has 150+ ASPX files. Is there a way to use wildcards in
> WiX to include all files as one line (*.aspx)  or do I have to list all
> files separately as  elements?
>
>
>
> -Oleg.
>
>
>  --
>
> *From:* Dhaval Patel [mailto:[EMAIL PROTECTED]
> *Sent:* Friday, January 19, 2007 12:21 AM
> *To:* Ogurok, Oleg
> *Cc:* wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] package ASP.NET application
>
>
>
> See the example here: http://www.tramontana.co.hu/wix/lesson6.php#6.3
>
> Basically, the Directory element would contain all your *.aspx, *.js,
> etc files. One thing the example doesn't mention is nested directories
> (example, you may have an App_Code, App_Themes, etc) directories - if you
> are using Visual Studio, Intellisense will help you figure out that you can
> have nested Directory elements within the main Directory element. Once you
> reach the root of that structure, just instantiate a Component element and
> fill out the remaining stuff as per your needs. Then from your
> WebVirtualDir, reference the main Directory ID, and from the WebSite
> element, reference this WebVirtualDir ID.
>
> 
>
> 
> 
>
>Guid="YOURGUID-3114-4945-930D-67F73D4B65B7">
>
> 
> Source='Web\bin\App_Code.compiled'
> Vital='yes' />
> LongName='App_Code.dll'
> Source='Web\bin\App_Code.dll'
> Vital='yes' />
>
> 
>
> 
>
> 
>
>   
>
>Guid='YOURGUID-ABD5-4146-A126-C23A7BD74DD0'>
>
> 
>   Source='Web\Images\Calendar.GIF'
> Vital='yes' />
>
> 
>
> 
>
>
>
> 
>
>  Guid="YOURGUID-710E-4c6d-9D4C-3C4D97F67685">
>
> 
> Source='Web\Test.aspx' Vital='yes' />
>  Source='Web\web.config' Vital='yes' />
>
> 
>
> 
>
>  Guid='YOURGUID-D174-40d7-BC0B-73FD896E5036'>
>
> 
>   Directory='WebStuff' WebSite='DefaultWebSite'>
>
>  />
>   
> 
>
> 
> 
> 
>
>
> Happy WIX'in :)
>
>  On 1/18/07, *Ogurok, Oleg *< [EMAIL PROTECTED]> wrote:
>
> Hi there,
>
>
>
> I am migrating from the bult-in VS2005 web deployment project to WiX.
>
> Could someone please provide a simple example of creating an MSI package
> which will create a virtual directory in IIS and install all output files (
> e.g. *.aspx, *.js) from a Visual Studio 2005 Web Deployment Project?
>
>
>
> I can't seem to figure out how to specify from where to copy the files.
>
>
>
> Thanks,
>
>
>
> -Oleg.
>
>
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] package ASP.NET application

2007-01-19 Thread Dhaval Patel

Use tallow.exe, I believe. It should be able to create a fragment for all
those files that you can use within WIX (I have never used it for files, but
it worked like a charm for a huge registry entry I had to do on one of my
projects recently).
Again, just follow the tutorial for using tallow.exe, Oleg.

Correct me if I am wrong on this one, fellow WIX users !?!?


On 1/19/07, Ogurok, Oleg <[EMAIL PROTECTED]> wrote:


 Dhaval,



Thanks for your help.

My ASP.NET app has 150+ ASPX files. Is there a way to use wildcards in WiX
to include all files as one line (*.aspx)  or do I have to list all files
separately as  elements?



-Oleg.


 --

*From:* Dhaval Patel [mailto:[EMAIL PROTECTED]
*Sent:* Friday, January 19, 2007 12:21 AM
*To:* Ogurok, Oleg
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] package ASP.NET application



See the example here: http://www.tramontana.co.hu/wix/lesson6.php#6.3

Basically, the Directory element would contain all your *.aspx, *.js, etc
files. One thing the example doesn't mention is nested directories (example,
you may have an App_Code, App_Themes, etc) directories - if you are using
Visual Studio, Intellisense will help you figure out that you can have
nested Directory elements within the main Directory element. Once you reach
the root of that structure, just instantiate a Component element and fill
out the remaining stuff as per your needs. Then from your WebVirtualDir,
reference the main Directory ID, and from the WebSite element, reference
this WebVirtualDir ID.






  


   







  

  


























  







Happy WIX'in :)

 On 1/18/07, *Ogurok, Oleg *<[EMAIL PROTECTED]> wrote:

Hi there,



I am migrating from the bult-in VS2005 web deployment project to WiX.

Could someone please provide a simple example of creating an MSI package
which will create a virtual directory in IIS and install all output files (
e.g. *.aspx, *.js) from a Visual Studio 2005 Web Deployment Project?



I can't seem to figure out how to specify from where to copy the files.



Thanks,



-Oleg.




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Rob Mensching
The code does not require VS2003.  The .vcproj projects are totally out of 
date.  Everything is built from NAnt.

From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Friday, January 19, 2007 12:44 PM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] xmlfile and namespaces


I see - an easy fix would be to choose the DOM based on an attribute that we 
can set (defaults to current name) and then if necessary one can add a 
prerequisite to the installer.

I'd look at it myself but the code seems(?) to require VS2003 and I just don't 
have that anymore.




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Fri, 19 Jan 2007 09:59:33 -0800
Subject: RE: [WiX-users] xmlfile and namespaces

Yeah, there is a bug open I think , that notes the XmlFile uses the old MSXML.  
K chose that old MSXML because it is distributed widely and makes for a 
relatively safe dependency.  It'd be nice to use a newer XML Parser but we 
wouldn't be able  to guarantee it would always be available.



I guess this is "least common denominator".  Functional, but not ideal.



From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Friday, January 19, 2007 5:45 AM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] xmlfile and namespaces



Hi Rob

That tool helps a lot it seems that local-name() is an unknown method - I 
assume it is using an old flavour of the XML DOM.

Shaun





From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Fri, 19 Jan 2007 01:45:35 -0800
Subject: RE: [WiX-users] xmlfile and namespaces

I've had lots of issues with the XML Pattern stuff with namespaces.  I 
eventually wrote a little jscript that let me test my pattern until I finally 
got it right.  Then I dropped it in with variables and boom:



if (2 > WScript.Arguments.length)

{

WScript.Echo("Must specify both the file and the XSL Path to query.");

WScript.Quit(1);

}



WScript.Echo("Opening File: " + WScript.Arguments(0));



var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");

xmlDoc.async = false;

xmlDoc.load(WScript.Arguments(0));



if (0 != xmlDoc.parseError.errorCode)

{

var myErr = xmlDoc.parseError;

WScript.Echo("You have error " + myErr.reason);

}

else

{

WScript.Echo("Query: " + WScript.Arguments(1));

WScript.Echo();



// xmlDoc.setProperty("SelectionLanguage", "XPath");

currNode = xmlDoc.selectSingleNode(WScript.Arguments(1));

if (null == currNode)

{

WScript.Echo("Nothing found.");

}

else

{

WScript.Echo(currNode.text);

}

}





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Wilde
Sent: Friday, January 19, 2007 1:20 AM
To: Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] xmlfile and namespaces



Sorry I should have said I am using WIX V2 (not 3) and
I have the correct escaping as you can see in my example.

Unfortunately web.config don't tend to have any namespaces
defined in them and I don't have issue with those files - its an xml
file that has namespaces defined within it that is causing grief.

Shaun



Subject: RE: [WiX-users] xmlfile and namespaces
Date: Thu, 18 Jan 2007 13:04:03 -0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net

I'm not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:







The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.





-Matt





From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 12:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] xmlfile and namespaces



I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this

ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"

but I get the following error

ExecXmlFile:  Error 0x80004005: failed to find node: //*/*/@codebase in XML 
file: C:\Program Files\XXX\XXX.application
MSI (s) (20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to 
find node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259

only 1 node matches that query in the file can xmlfile handle such xpath 
queries?

If not how is one to handle xml files that have many namespaces within them 
since there does not appear to be a way of adding namespace information into 
the xmlfile CA

Shaun



Be one of the first to try Windows Li

Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Shaun Wilde
I see - an easy fix would be to choose the DOM based on an attribute that we 
can set (defaults to current name) and then if necessary one can add a 
prerequisite to the installer.
 
I'd look at it myself but the code seems(?) to require VS2003 and I just don't 
have that anymore.


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL 
PROTECTED]: Fri, 19 Jan 2007 09:59:33 -0800Subject: RE: [WiX-users] xmlfile and 
namespaces






Yeah, there is a bug open I think , that notes the XmlFile uses the old MSXML.  
K chose that old MSXML because it is distributed widely and makes for a 
relatively safe dependency.  It’d be nice to use a newer XML Parser but we 
wouldn’t be able  to guarantee it would always be available.
 
I guess this is “least common denominator”.  Functional, but not ideal.
 


From: Shaun Wilde [mailto:[EMAIL PROTECTED] Sent: Friday, January 19, 2007 5:45 
AMTo: Rob Mensching; Matthew Janulewicz; [EMAIL PROTECTED]: RE: [WiX-users] 
xmlfile and namespaces
 
Hi Rob That tool helps a lot it seems that local-name() is an unknown method - 
I assume it is using an old flavour of the XML DOM. Shaun



From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL 
PROTECTED]: Fri, 19 Jan 2007 01:45:35 -0800Subject: RE: [WiX-users] xmlfile and 
namespaces

I’ve had lots of issues with the XML Pattern stuff with namespaces.  I 
eventually wrote a little jscript that let me test my pattern until I finally 
got it right.  Then I dropped it in with variables and boom:
 
if (2 > WScript.Arguments.length)
{
WScript.Echo("Must specify both the file and the XSL Path to query.");
WScript.Quit(1);
}
 
WScript.Echo("Opening File: " + WScript.Arguments(0));
 
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
xmlDoc.async = false;
xmlDoc.load(WScript.Arguments(0));
 
if (0 != xmlDoc.parseError.errorCode)
{
var myErr = xmlDoc.parseError;
WScript.Echo("You have error " + myErr.reason);
}
else
{
WScript.Echo("Query: " + WScript.Arguments(1));
WScript.Echo();
 
// xmlDoc.setProperty("SelectionLanguage", "XPath");
currNode = xmlDoc.selectSingleNode(WScript.Arguments(1));
if (null == currNode)
{
WScript.Echo("Nothing found.");
}
else
{
WScript.Echo(currNode.text);
}
}
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun WildeSent: 
Friday, January 19, 2007 1:20 AMTo: Matthew Janulewicz; [EMAIL PROTECTED]: Re: 
[WiX-users] xmlfile and namespaces
 
Sorry I should have said I am using WIX V2 (not 3) and I have the correct 
escaping as you can see in my example. Unfortunately web.config don't tend to 
have any namespaces defined in them and I don't have issue with those files - 
its an xml file that has namespaces defined within it that is causing 
grief.Shaun



Subject: RE: [WiX-users] xmlfile and namespacesDate: Thu, 18 Jan 2007 13:04:03 
-0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net

I’m not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:
 

 
The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.
 
 
-Matt
 




From: Shaun Wilde [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 
12:00 PMTo: [EMAIL PROTECTED]: [WiX-users] xmlfile and namespaces
 
I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this 
ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"
 but I get the following error ExecXmlFile:  Error 0x80004005: failed to find 
node: //*/*/@codebase in XML file: C:\Program Files\XXX\XXX.applicationMSI (s) 
(20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to find 
node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259 
only 1 node matches that query in the file can xmlfile handle such xpath 
queries? If not how is one to handle xml files that have many namespaces within 
them since there does not appear to be a way of adding namespace information 
into the xmlfile CA Shaun 



Be one of the first to try Windows Live Mail.
 



Be one of the first to try Windows Live Mail.
 



Be one of the first to try Windows Live Mail.
_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=joi

[WiX-users] Terminating running process before uninstallation

2007-01-19 Thread Kaushik Barat

Hi All,

One way of solving this is to invoke  Taskkill passing in the exe name via a
custom action. This CA can be invoked before remove files.
Here's more on TaskKill
http://commandwindows.com/taskkill.htm

It is better to check if the status of the exe is running, while calling
taskkill to kill the process.

Thanks,
Kaushik
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom action sequence numbers and patch files

2007-01-19 Thread Farhan Ahmed
Actually sending to the appropriate list.

 

Hi there,

 

I was wondering if any of you could share some insight into this problem
we just came across ...

 

We have a custom action (MsiProcessDrivers) that processes driver
packages to install them onto the system. It is defined to run after the
"InstallFiles" custom action. Now, one of our customers used the patch
mechanism to apply a patch to upgrade their INF from version 1.0 ->
version 2.0. This resulted in the "PatchFiles" custom action to have the
same sequence number as the "MsiProcessDrivers" action. Apparently,
"PatchFiles" is also defined to run after "InstallFiles" and hence both
of them ended up with the same sequence number. The error happens when
the "PatchFiles" action run after "MsiProcessDrivers".

 

We would like "MsiProcessDrivers" to run after "PatchFiles" - is there a
simple way to change the WiX and the MSM files (we ship both) to achieve
this?

 

Thanks,

 

Farhan

 

Original:

InstallFiles -> MsiProcessDrivers

 

After patch:

InstallFiles -> MsiProcessDrivers

  ->PatchFiles

 

Desired:

InstallFiles ->PatchFiles -> MsiProcessDrivers

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to apply hotfixes

2007-01-19 Thread Scott Sam
Our dll's are strongly typed (I think that's what its called).  So we
can't have dll's of different versions talking to each other.  What is
the best way to apply a hotfix for when you only need to replace a
couple files.  We can rebuild the new dll's to be the same version as
the old ones, but how do you get those to be updated?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stefan
Kuhr
Sent: Friday, January 19, 2007 1:28 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional start menu shortcut creation


Hello everyone,

I want to install both the x64 and the x86 version of an executable on
the
harddisk, no matter if the machine is x86 or x64. But I only want to
create
one start menu shortcut for the app, the one that is appropriate for the
target OS where the msi gets installed. How Do I go about that? I tried
this
for the component, so the start menu entry for the x86 should not appear
on
x86, but unfortunately it appears anyway:


  

  
NOT VersionNT64
  

  


How can I create a start menu shortcut conditionally?

Any help appreciated,

-- 
Stefan Kuhr


-- 
View this message in context:
http://www.nabble.com/Conditional-start-menu-shortcut-creation-tf3041366
.html#a8453976
Sent from the wix-users mailing list archive at Nabble.com.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error in light.exe on Vista

2007-01-19 Thread Rob Mensching
Well, the ICEs are failing.  Those come with the MSI SDK.  So it is possible 
the ICEs would work better if we upgraded them to the latest... assuming we're 
not already running the latest.  Do you want to try to track down the latest 
*.cub files and see if they work better?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morten 
Klostergaard
Sent: Friday, January 19, 2007 3:59 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error in light.exe on Vista


That works, Rob. Thanks.

If others get the same problem and use Visual Studio for building, you can
find the setting under Advanced... for Linker: Suppressions>"Suppress
MSI/MSM validation".

It bothers me, though, to suppress validation of the msi. So now I'm looking
forward to Vista Service Pack 1 of ?



Rob Mensching-2 wrote:
>
> It looks like the ICE validators are having a problem on your Vista box.
> What happens if you add "-sval" to the light.exe command line?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Morten
> Klostergaard
> Sent: Friday, January 19, 2007 1:05 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Error in light.exe on Vista
>
>
> I've just installed Vista, Visual Studio 2005 and latest WiX (version
> 3.0.2512.0). When building a WiX-project I get the error:
>
> An unexpected external UI message was received: The installer has
> encountered an unexpected error installing this package. This may indicate
> a
> problem with this package. The error code is 2738
>
> This occurs in light.exe. So I created and tried to build a completely
> barebone new WiX-project, but that's the same error. I tried with a
> previous
> version of WiX as well with the same outcome, so I guess it's an issue
> with
> Vista.
>
> Anybody had this problem? Or even better: Anybody have a solution?
>
> Thanx,
> Morten
>

--
View this message in context: 
http://www.nabble.com/Error-in-light.exe-on-Vista-tf3038932.html#a8447898
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Conditional start menu shortcut creation

2007-01-19 Thread Stefan Kuhr

Hello everyone,

I want to install both the x64 and the x86 version of an executable on the
harddisk, no matter if the machine is x86 or x64. But I only want to create
one start menu shortcut for the app, the one that is appropriate for the
target OS where the msi gets installed. How Do I go about that? I tried this
for the component, so the start menu entry for the x86 should not appear on
x86, but unfortunately it appears anyway:


  

  
NOT VersionNT64
  

  


How can I create a start menu shortcut conditionally?

Any help appreciated,

-- 
Stefan Kuhr


-- 
View this message in context: 
http://www.nabble.com/Conditional-start-menu-shortcut-creation-tf3041366.html#a8453976
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Rob Mensching
Yeah, there is a bug open I think , that notes the XmlFile uses the old MSXML.  
K chose that old MSXML because it is distributed widely and makes for a 
relatively safe dependency.  It'd be nice to use a newer XML Parser but we 
wouldn't be able  to guarantee it would always be available.

I guess this is "least common denominator".  Functional, but not ideal.

From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Friday, January 19, 2007 5:45 AM
To: Rob Mensching; Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] xmlfile and namespaces


Hi Rob

That tool helps a lot it seems that local-name() is an unknown method - I 
assume it is using an old flavour of the XML DOM.

Shaun




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Fri, 19 Jan 2007 01:45:35 -0800
Subject: RE: [WiX-users] xmlfile and namespaces

I've had lots of issues with the XML Pattern stuff with namespaces.  I 
eventually wrote a little jscript that let me test my pattern until I finally 
got it right.  Then I dropped it in with variables and boom:



if (2 > WScript.Arguments.length)

{

WScript.Echo("Must specify both the file and the XSL Path to query.");

WScript.Quit(1);

}



WScript.Echo("Opening File: " + WScript.Arguments(0));



var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");

xmlDoc.async = false;

xmlDoc.load(WScript.Arguments(0));



if (0 != xmlDoc.parseError.errorCode)

{

var myErr = xmlDoc.parseError;

WScript.Echo("You have error " + myErr.reason);

}

else

{

WScript.Echo("Query: " + WScript.Arguments(1));

WScript.Echo();



// xmlDoc.setProperty("SelectionLanguage", "XPath");

currNode = xmlDoc.selectSingleNode(WScript.Arguments(1));

if (null == currNode)

{

WScript.Echo("Nothing found.");

}

else

{

WScript.Echo(currNode.text);

}

}





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Wilde
Sent: Friday, January 19, 2007 1:20 AM
To: Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] xmlfile and namespaces



Sorry I should have said I am using WIX V2 (not 3) and
I have the correct escaping as you can see in my example.

Unfortunately web.config don't tend to have any namespaces
defined in them and I don't have issue with those files - its an xml
file that has namespaces defined within it that is causing grief.

Shaun




Subject: RE: [WiX-users] xmlfile and namespaces
Date: Thu, 18 Jan 2007 13:04:03 -0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net

I'm not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:







The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.





-Matt





From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 12:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] xmlfile and namespaces



I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this

ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"

but I get the following error

ExecXmlFile:  Error 0x80004005: failed to find node: //*/*/@codebase in XML 
file: C:\Program Files\XXX\XXX.application
MSI (s) (20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to 
find node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259

only 1 node matches that query in the file can xmlfile handle such xpath 
queries?

If not how is one to handle xml files that have many namespaces within them 
since there does not appear to be a way of adding namespace information into 
the xmlfile CA

Shaun



Be one of the first to try Windows Live 
Mail.





Be one of the first to try Windows Live 
Mail.


Be one of the first to try Windows Live 
Mail.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

Re: [WiX-users] Reading [SOURCEDIR] before CostFinalize

2007-01-19 Thread Wilson, Phil
It's ResolveSource that initializes the SourceDir (cased correctly)
property. An alternative is to use the OriginalDatabase property, the
full path to the MSI file, and parse the directory name from it.  Is
SOURCEDIR a Wix thing? 

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaushik
Barat
Sent: Thursday, January 18, 2007 11:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Reading [SOURCEDIR] before CostFinalize



Hi All,
 
I have a configuration file which contains values of properties. Some of
these properties have to set before CostFinalize since, they decide the
condition of components. Since condition decisions are done at
CostFinalize, the property values have to be set before CostFinalize. 
 
I have a library which parses the config file and sets the proerty
values. The config file can be sitting anywhere. Currently i am calling
the MSI passing in the FULL PATH of the configuration file. How do i
access properties such as SOURCEDIR before CostFinalize. Having
SOURCEDIR path will enable the MSI to directly access the configuration
file sitting in its folder. 
 
Thanks,
Kaushik
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Have another one...

2007-01-19 Thread Ian Couper
Don't worry about it, I figured it out. I was trying to make sure that
the installer did not add any registry entries. This MSI is not for a
complete program, simply to update certain files in the web source of an
existing project; therefore the registry entries are useless and
actually make my life harder. I simply added the property  and it seems to solve the problem.

 

 



From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 10:25 AM
To: Ian Couper
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Have another one...

 

I'm not sure what you mean...which registry entries?

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote: 

Now that I've got the MSI set to not create an ARP entry, any ideas on
how to make sure no registry entries are created on install?

 

Thanks again, Ian.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 



 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Refresh on next button

2007-01-19 Thread Levi Wilson

Even if it completely covered the buttons, the dialog would still receive a
refresh for the control...it doesn't make sense that it would disappear.

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


 Patrick Steele wrote:

Thanks anyway Bob, I did end up splitting the one dialog into two dialogs
and that worked. I don't know why the radio buttons kept disappearing,
except that possibly closing the balloon popup does not cause a dialog
refresh?


If the balloon completely covered up the buttons, I can see that. But I
don't get why it would cause the entire control surface to go away.
Definitely odd.

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


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Refresh on next button

2007-01-19 Thread Bob Arnson

Patrick Steele wrote:
Thanks anyway Bob, I did end up splitting the one dialog into two 
dialogs and that worked. I don't know why the radio buttons kept 
disappearing, except that possibly closing the balloon popup does not 
cause a dialog refresh?


If the balloon completely covered up the buttons, I can see that. But I 
don't get why it would cause the entire control surface to go away. 
Definitely odd.


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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Have another one...

2007-01-19 Thread Ian Couper
Now that I've got the MSI set to not create an ARP entry, any ideas on
how to make sure no registry entries are created on install?

 

Thanks again, Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Refresh on next button

2007-01-19 Thread Patrick Steele
No conditions in the radio group:
 















From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 18 January 2007 16:46
To: Patrick Steele
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Refresh on next button


Patrick Steele wrote: 

If the masked edit is moved to the bottom of the screen, the
radio buttons will still disappear. I have just decided I am going to
separate this one dialog into two dialogs. This is not the answer I
would wish for, but at least it would be correct.


If it's not just happening because the balloon appears on top of the
radio buttons, there's probably another reason. Are you using any
conditions in the radio group?

-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Refresh on next button

2007-01-19 Thread Patrick Steele
Thanks anyway Bob, I did end up splitting the one dialog into two
dialogs and that worked. I don't know why the radio buttons kept
disappearing, except that possibly closing the balloon popup does not
cause a dialog refresh?



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 19 January 2007 16:05
To: Patrick Steele
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Refresh on next button


Patrick Steele wrote: 

No conditions in the radio group:


Hmmm. Sorry, no ideas coming to mind...

-- 
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Refresh on next button

2007-01-19 Thread Bob Arnson

Patrick Steele wrote:

No conditions in the radio group:


Hmmm. Sorry, no ideas coming to mind...

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

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] package ASP.NET application

2007-01-19 Thread Ogurok, Oleg
Dhaval,

 

Thanks for your help.

My ASP.NET app has 150+ ASPX files. Is there a way to use wildcards in
WiX to include all files as one line (*.aspx)  or do I have to list all
files separately as  elements?

 

-Oleg.

 



From: Dhaval Patel [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 12:21 AM
To: Ogurok, Oleg
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] package ASP.NET application

 

See the example here: http://www.tramontana.co.hu/wix/lesson6.php#6.3

Basically, the Directory element would contain all your *.aspx, *.js,
etc files. One thing the example doesn't mention is nested directories
(example, you may have an App_Code, App_Themes, etc) directories - if
you are using Visual Studio, Intellisense will help you figure out that
you can have nested Directory elements within the main Directory
element. Once you reach the root of that structure, just instantiate a
Component element and fill out the remaining stuff as per your needs.
Then from your WebVirtualDir, reference the main Directory ID, and from
the WebSite element, reference this WebVirtualDir ID. 




 

  


   







  

   

 





  

 










 




  


 




Happy WIX'in :)



On 1/18/07, Ogurok, Oleg <[EMAIL PROTECTED]> wrote:

Hi there,

 

I am migrating from the bult-in VS2005 web deployment project to WiX.

Could someone please provide a simple example of creating an MSI package
which will create a virtual directory in IIS and install all output
files (e.g. *.aspx, *.js) from a Visual Studio 2005 Web Deployment
Project?

 

I can't seem to figure out how to specify from where to copy the files.

 

Thanks,

 

-Oleg.

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 



 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Have another one...

2007-01-19 Thread Ian Couper
Just a follow up to that... it didn't work, seemed to, but after a
closer look it didn't.

 



From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 10:25 AM
To: Ian Couper
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Have another one...

 

I'm not sure what you mean...which registry entries?

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote: 

Now that I've got the MSI set to not create an ARP entry, any ideas on
how to make sure no registry entries are created on install?

 

Thanks again, Ian.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 



 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service not uninstalling

2007-01-19 Thread Antony Walmsley
Yes, you're right. It works now.

Remove on both was just a desperate attempt to make it work. I've put
it back to remove on uninstall now.

On 19/01/07, Levi Wilson <[EMAIL PROTECTED]> wrote:
> I think the @Name attributes need to match up.  Also, why are you removing
> on "both"?  Don't you want it to be @Remove="uninstall"?
>
>
> On 1/19/07, Antony Walmsley <[EMAIL PROTECTED]> wrote:
> >
> > I'm using the following code to configure a service :
> >
> >Id="LineMonitoringServiceInstall"
> > Description="Line Monitoring" Name="Line Monitoring Service"
> > Start="auto" ErrorControl="normal" Type="ownProcess">
> >  Group="no"/>
> > 
> >   
> >Id="LineMonitoringServiceControl"
> > Name="Line Monitoring" Remove="both" Stop="both" Wait="yes"/>
> >
> >
> > The installation is fine but when I uninstall I can still see the
> > entry in the list of services. The executable has been uninstalled.
> > I'm using 2.0.4611.0.
> >
> >
> -
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Have another one...

2007-01-19 Thread Levi Wilson

I'm not sure what you mean...which registry entries?

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote:


 Now that I've got the MSI set to not create an ARP entry, any ideas on
how to make sure no registry entries are created on install?



Thanks again, Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSIs without Add/Remove entry, Possible?

2007-01-19 Thread Ian Couper
K, Thanks.

 



From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 9:45 AM
To: Ian Couper
Subject: Re: [WiX-users] MSIs without Add/Remove entry, Possible?

 

Btw, don't forget to add a CC to the wix-users email address too so
everyone sees your post.

On 1/19/07, Ian Couper < [EMAIL PROTECTED]
 > wrote:

Awesome, thanks a lot!

 

Ian.

 



From: Levi Wilson [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 9:42 AM
To: Ian Couper
Subject: Re: [WiX-users] MSIs without Add/Remove entry, Possible?

 



Would be in your .wxs file.

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote:

Sorry, I am a n00b, Does this go in the XML file? Or in the command
prompt when running the MSI? Sample would be helpful...

 



From: Levi Wilson [mailto: [EMAIL PROTECTED] 
Sent: Friday, January 19, 2007 9:36 AM
To: Ian Couper
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] MSIs without Add/Remove entry, Possible?

 

Set ARPSYSTEMCOMPONENT to 1?

http://msdn2.microsoft.com/en-us/library/aa367750.aspx

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote:

Just wondering if there is an easy way to create an MSI that will not
add an entry into Add/Remove Programs. Currently I have all the
components listed as "Permanent" then I can run an uninstall after the
MSI runs, which will keep all the files/directories, but will remove the
registry entry and the ARP entry. However this isn't the most ideal way
to do it, so if there is a cleaner way of accomplishing this it would be
helpful. Anybody have any ideas?

 

Ian.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your 
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE
V 

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users 

 

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSIs without Add/Remove entry, Possible?

2007-01-19 Thread Levi Wilson



Would be in your .wxs file.

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote:


 Sorry, I am a n00b, Does this go in the XML file? Or in the command
prompt when running the MSI? Sample would be helpful…


 --

*From:* Levi Wilson [mailto:[EMAIL PROTECTED]
*Sent:* Friday, January 19, 2007 9:36 AM
*To:* Ian Couper
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] MSIs without Add/Remove entry, Possible?



Set ARPSYSTEMCOMPONENT to 1?

http://msdn2.microsoft.com/en-us/library/aa367750.aspx

On 1/19/07, *Ian Couper* <[EMAIL PROTECTED]> wrote:

Just wondering if there is an easy way to create an MSI that will not add
an entry into Add/Remove Programs. Currently I have all the components
listed as "Permanent" then I can run an uninstall after the MSI runs, which
will keep all the files/directories, but will remove the registry entry and
the ARP entry. However this isn't the most ideal way to do it, so if there
is a cleaner way of accomplishing this it would be helpful. Anybody have any
ideas?



Ian.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSIs without Add/Remove entry, Possible?

2007-01-19 Thread Levi Wilson

Set ARPSYSTEMCOMPONENT to 1?

http://msdn2.microsoft.com/en-us/library/aa367750.aspx

On 1/19/07, Ian Couper <[EMAIL PROTECTED]> wrote:


 Just wondering if there is an easy way to create an MSI that will not add
an entry into Add/Remove Programs. Currently I have all the components
listed as "Permanent" then I can run an uninstall after the MSI runs, which
will keep all the files/directories, but will remove the registry entry and
the ARP entry. However this isn't the most ideal way to do it, so if there
is a cleaner way of accomplishing this it would be helpful. Anybody have any
ideas?



Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] MSIs without Add/Remove entry, Possible?

2007-01-19 Thread Ian Couper
Just wondering if there is an easy way to create an MSI that will not
add an entry into Add/Remove Programs. Currently I have all the
components listed as "Permanent" then I can run an uninstall after the
MSI runs, which will keep all the files/directories, but will remove the
registry entry and the ARP entry. However this isn't the most ideal way
to do it, so if there is a cleaner way of accomplishing this it would be
helpful. Anybody have any ideas?

 

Ian.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Shaun Wilde
Hi Rob
 
That tool helps a lot it seems that local-name() is an unknown method - I 
assume it is using an old flavour of the XML DOM.
 
Shaun


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL 
PROTECTED]: Fri, 19 Jan 2007 01:45:35 -0800Subject: RE: [WiX-users] xmlfile and 
namespaces






I’ve had lots of issues with the XML Pattern stuff with namespaces.  I 
eventually wrote a little jscript that let me test my pattern until I finally 
got it right.  Then I dropped it in with variables and boom:
 
if (2 > WScript.Arguments.length)
{
WScript.Echo("Must specify both the file and the XSL Path to query.");
WScript.Quit(1);
}
 
WScript.Echo("Opening File: " + WScript.Arguments(0));
 
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
xmlDoc.async = false;
xmlDoc.load(WScript.Arguments(0));
 
if (0 != xmlDoc.parseError.errorCode)
{
var myErr = xmlDoc.parseError;
WScript.Echo("You have error " + myErr.reason);
}
else
{
WScript.Echo("Query: " + WScript.Arguments(1));
WScript.Echo();
 
// xmlDoc.setProperty("SelectionLanguage", "XPath");
currNode = xmlDoc.selectSingleNode(WScript.Arguments(1));
if (null == currNode)
{
WScript.Echo("Nothing found.");
}
else
{
WScript.Echo(currNode.text);
}
}
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun WildeSent: 
Friday, January 19, 2007 1:20 AMTo: Matthew Janulewicz; [EMAIL PROTECTED]: Re: 
[WiX-users] xmlfile and namespaces
 
Sorry I should have said I am using WIX V2 (not 3) and I have the correct 
escaping as you can see in my example. Unfortunately web.config don't tend to 
have any namespaces defined in them and I don't have issue with those files - 
its an xml file that has namespaces defined within it that is causing 
grief.Shaun



Subject: RE: [WiX-users] xmlfile and namespacesDate: Thu, 18 Jan 2007 13:04:03 
-0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net

I’m not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:
 

 
The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.
 
 
-Matt
 




From: Shaun Wilde [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 
12:00 PMTo: [EMAIL PROTECTED]: [WiX-users] xmlfile and namespaces
 
I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this 
ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"
 but I get the following error ExecXmlFile:  Error 0x80004005: failed to find 
node: //*/*/@codebase in XML file: C:\Program Files\XXX\XXX.applicationMSI (s) 
(20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to find 
node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259 
only 1 node matches that query in the file can xmlfile handle such xpath 
queries? If not how is one to handle xml files that have many namespaces within 
them since there does not appear to be a way of adding namespace information 
into the xmlfile CA Shaun 



Be one of the first to try Windows Live Mail.
 



Be one of the first to try Windows Live Mail.
_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Service not uninstalling

2007-01-19 Thread Levi Wilson

I think the @Name attributes need to match up.  Also, why are you removing
on "both"?  Don't you want it to be @Remove="uninstall"?

On 1/19/07, Antony Walmsley <[EMAIL PROTECTED]> wrote:


I'm using the following code to configure a service :

  


  
  


The installation is fine but when I uninstall I can still see the
entry in the list of services. The executable has been uninstalled.
I'm using 2.0.4611.0.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error in light.exe on Vista

2007-01-19 Thread Morten Klostergaard

That works, Rob. Thanks.

If others get the same problem and use Visual Studio for building, you can
find the setting under Advanced... for Linker: Suppressions>"Suppress
MSI/MSM validation".

It bothers me, though, to suppress validation of the msi. So now I'm looking
forward to Vista Service Pack 1 of ?



Rob Mensching-2 wrote:
> 
> It looks like the ICE validators are having a problem on your Vista box. 
> What happens if you add "-sval" to the light.exe command line?
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Morten
> Klostergaard
> Sent: Friday, January 19, 2007 1:05 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Error in light.exe on Vista
> 
> 
> I've just installed Vista, Visual Studio 2005 and latest WiX (version
> 3.0.2512.0). When building a WiX-project I get the error:
> 
> An unexpected external UI message was received: The installer has
> encountered an unexpected error installing this package. This may indicate
> a
> problem with this package. The error code is 2738
> 
> This occurs in light.exe. So I created and tried to build a completely
> barebone new WiX-project, but that's the same error. I tried with a
> previous
> version of WiX as well with the same outcome, so I guess it's an issue
> with
> Vista.
> 
> Anybody had this problem? Or even better: Anybody have a solution?
> 
> Thanx,
> Morten
> 

-- 
View this message in context: 
http://www.nabble.com/Error-in-light.exe-on-Vista-tf3038932.html#a8447898
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Service not uninstalling

2007-01-19 Thread Antony Walmsley
I'm using the following code to configure a service :

  


  
  


The installation is fine but when I uninstall I can still see the
entry in the list of services. The executable has been uninstalled.
I'm using 2.0.4611.0.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX and PocketPC installations

2007-01-19 Thread Rob Mensching
I have serious issues with suggesting that developers should write 
VBScript/Jscript CustomActions.  Script CustomActions are only viable in highly 
controlled environments.  I would never recommend that an ISV release a product 
that contains a Script CustomAction for distribution.

I've had many reports from Microsoft Product Support that the scripting engine 
has a lot of dependencies that have a tendency to get into states that prevents 
the Windows Installer from interacting with it properly.

The http://www.wixwiki.com looks like "official WiX documentation" and captures 
some really great information.  However, I think we are definitely leading 
developers for a long walk off a short pier with the glowing review of VBScript 
on the wiki right now.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob MacFadyen
Sent: Friday, January 19, 2007 1:26 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX and PocketPC installations


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Thursday, January 18, 2007 5:32 PM
To: 'Ben Sion'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX and PocketPC installations

...

>
> I imagine that you should use a RegistrySearch to find the path to
> CeAppMgr.exe, and a type 34 custom action to actually run it.
> I'm not that familiar with how this works (the documentation
> for  really needs to be broken down into examples
> for each different type of custom action because it's clear as
> mud right now).

>--
>Mike Dimmick

http://www.wixwiki.com/index.php?title=Guide_to_CustomActions

And specific to type 34:
http://www.wixwiki.com/index.php?title=Custom_Action_Type_34

Regards,

Rob




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Rob Mensching
I've had lots of issues with the XML Pattern stuff with namespaces.  I 
eventually wrote a little jscript that let me test my pattern until I finally 
got it right.  Then I dropped it in with variables and boom:

if (2 > WScript.Arguments.length)
{
WScript.Echo("Must specify both the file and the XSL Path to query.");
WScript.Quit(1);
}

WScript.Echo("Opening File: " + WScript.Arguments(0));

var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.3.0");
xmlDoc.async = false;
xmlDoc.load(WScript.Arguments(0));

if (0 != xmlDoc.parseError.errorCode)
{
var myErr = xmlDoc.parseError;
WScript.Echo("You have error " + myErr.reason);
}
else
{
WScript.Echo("Query: " + WScript.Arguments(1));
WScript.Echo();

// xmlDoc.setProperty("SelectionLanguage", "XPath");
currNode = xmlDoc.selectSingleNode(WScript.Arguments(1));
if (null == currNode)
{
WScript.Echo("Nothing found.");
}
else
{
WScript.Echo(currNode.text);
}
}


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Wilde
Sent: Friday, January 19, 2007 1:20 AM
To: Matthew Janulewicz; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] xmlfile and namespaces

Sorry I should have said I am using WIX V2 (not 3) and
I have the correct escaping as you can see in my example.

Unfortunately web.config don't tend to have any namespaces
defined in them and I don't have issue with those files - its an xml
file that has namespaces defined within it that is causing grief.

Shaun



Subject: RE: [WiX-users] xmlfile and namespaces
Date: Thu, 18 Jan 2007 13:04:03 -0800
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net

I'm not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:







The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.





-Matt





From: Shaun Wilde [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 18, 2007 12:00 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] xmlfile and namespaces



I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this

ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"

but I get the following error

ExecXmlFile:  Error 0x80004005: failed to find node: //*/*/@codebase in XML 
file: C:\Program Files\XXX\XXX.application
MSI (s) (20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to 
find node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259

only 1 node matches that query in the file can xmlfile handle such xpath 
queries?

If not how is one to handle xml files that have many namespaces within them 
since there does not appear to be a way of adding namespace information into 
the xmlfile CA

Shaun



Be one of the first to try Windows Live 
Mail.


Be one of the first to try Windows Live 
Mail.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX and PocketPC installations

2007-01-19 Thread Rob MacFadyen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Thursday, January 18, 2007 5:32 PM
To: 'Ben Sion'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX and PocketPC installations

...

>
> I imagine that you should use a RegistrySearch to find the path to 
> CeAppMgr.exe, and a type 34 custom action to actually run it. 
> I'm not that familiar with how this works (the documentation 
> for  really needs to be broken down into examples 
> for each different type of custom action because it's clear as 
> mud right now).

>--
>Mike Dimmick

http://www.wixwiki.com/index.php?title=Guide_to_CustomActions

And specific to type 34:
http://www.wixwiki.com/index.php?title=Custom_Action_Type_34

Regards,

Rob




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xmlfile and namespaces

2007-01-19 Thread Shaun Wilde
Sorry I should have said I am using WIX V2 (not 3) and 
I have the correct escaping as you can see in my example.
 
Unfortunately web.config don't tend to have any namespaces 
defined in them and I don't have issue with those files - its an xml 
file that has namespaces defined within it that is causing grief.Shaun


Subject: RE: [WiX-users] xmlfile and namespacesDate: Thu, 18 Jan 2007 13:04:03 
-0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net






I’m not totally in tune with xml paths and whatnot, but I hacked through an 
example and came up with this:
 

 
The escape characters and whatnot are hardly intuitive and it took forever to 
get it to work, but this is the syntax I use in our installers to change values 
in our config files. Hope this helps.
 
 
-Matt
 




From: Shaun Wilde [mailto:[EMAIL PROTECTED] Sent: Thursday, January 18, 2007 
12:00 PMTo: [EMAIL PROTECTED]: [WiX-users] xmlfile and namespaces
 
I am trying to use xmlfile on an file with namespaces I would therefore 
construct my query to look like this 
ElementPath="//*[\[]local-name()='deployment'[\]]/*[\[]local-name()='deploymentProvider'[\]]/@codebase"
 but I get the following error ExecXmlFile:  Error 0x80004005: failed to find 
node: //*/*/@codebase in XML file: C:\Program Files\XXX\XXX.applicationMSI (s) 
(20!60) [19:44:10:257]: Product: XXX Service -- Error 25532. Failed to find 
node: 
//*[local-name()='deployment']/*[local-name()='deploymentProvider']/@codebase 
in XML file: C:\Program Files\XXX\XXX.application, system error: -2147467259 
only 1 node matches that query in the file can xmlfile handle such xpath 
queries? If not how is one to handle xml files that have many namespaces within 
them since there does not appear to be a way of adding namespace information 
into the xmlfile CA Shaun 



Be one of the first to try Windows Live Mail.
_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error in light.exe on Vista

2007-01-19 Thread Rob Mensching
It looks like the ICE validators are having a problem on your Vista box.  What 
happens if you add "-sval" to the light.exe command line?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morten 
Klostergaard
Sent: Friday, January 19, 2007 1:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error in light.exe on Vista


I've just installed Vista, Visual Studio 2005 and latest WiX (version
3.0.2512.0). When building a WiX-project I get the error:

An unexpected external UI message was received: The installer has
encountered an unexpected error installing this package. This may indicate a
problem with this package. The error code is 2738

This occurs in light.exe. So I created and tried to build a completely
barebone new WiX-project, but that's the same error. I tried with a previous
version of WiX as well with the same outcome, so I guess it's an issue with
Vista.

Anybody had this problem? Or even better: Anybody have a solution?

Thanx,
Morten
--
View this message in context: 
http://www.nabble.com/Error-in-light.exe-on-Vista-tf3038932.html#a8446037
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Browse button in WixUI_FeatureTree

2007-01-19 Thread Antony Walmsley
Sorted, Thanks Bob.

On 19/01/07, Bob Arnson <[EMAIL PROTECTED]> wrote:
> Antony Walmsley wrote:
> > Is the browse button meant to work using WixUI_FeatureTree?
>
> Yes but the feature must have the ConfigurableDirectory attribute set to
> a public (all uppercase) directory.
>
> --
> sig://boB
> http://bobs.org
>
>
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error in light.exe on Vista

2007-01-19 Thread Morten Klostergaard

I've just installed Vista, Visual Studio 2005 and latest WiX (version
3.0.2512.0). When building a WiX-project I get the error:

An unexpected external UI message was received: The installer has
encountered an unexpected error installing this package. This may indicate a
problem with this package. The error code is 2738

This occurs in light.exe. So I created and tried to build a completely
barebone new WiX-project, but that's the same error. I tried with a previous
version of WiX as well with the same outcome, so I guess it's an issue with
Vista.

Anybody had this problem? Or even better: Anybody have a solution?

Thanx,
Morten
-- 
View this message in context: 
http://www.nabble.com/Error-in-light.exe-on-Vista-tf3038932.html#a8446037
Sent from the wix-users mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users