[WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Prabhat Nath
Hello,



I have WiX project and here is how I create desktop shortcut and able to
show tooltip too. But how can I modify this to show the “Installed Location”
as the tooltip?





  



  



  

  





Any suggestion/pointer is appreciated.



Thanks,

Prabhat Nath
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Prevent Installing Packaged Application during uninstall from WiX Bootstrapper setup.exe

2009-04-16 Thread Prabhat Nath
Hello,



I am using WiX bootstrapper to install my application (.MSI) and the
bootstrapper will install SQLCE if missing on the target system.

During install this is working as expected and if the application is already
installed and the user try to install again using the bootstrapper
(setup.exe) it ask to uninstall / repair etc.



But if I uninstall SQLCE first and then run the setup.exe, this install
SQLCE (as this is now missing) and then uninstall the product.



How can I make sure that the bootstrapper installer will not check for
installer prerequisites during uninstall?



Please suggest how can I do this or any pointer is appreciated.



Thanks,

Prabhat Nath
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Sebastian Brand
The "Description" field is not validated during installation so it cannot
contain properties. You will need a custom action that modifies this field I
think.


Best regards,
Sebastian Brand

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-Original Message-
From: Prabhat Nath [mailto:prabhat.n...@gmail.com] 
Sent: Thursday, April 16, 2009 10:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to Display Installed Path in Icon Tooltip

Hello,



I have WiX project and here is how I create desktop shortcut and able to
show tooltip too. But how can I modify this to show the "Installed Location"
as the tooltip?





  



  



  

  





Any suggestion/pointer is appreciated.



Thanks,

Prabhat Nath

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Mutal locking components with CheckBox

2009-04-16 Thread Bahn Thomas
Hello,

the following code should prevent IISApplication from execution when the 
checkbox is not checked. Then IISApplicationVDir is executed.
Vice versa, when the checkbox is checked, IISApplication isn't executed and 
IISApplication is done.

the problem is, that it seems IISApplication is executed in both cases.

Which value is stored in VDIRENABLE if its checked / not checked ?
Which condition let get me the described behaviour?

Thanks in advance!


The code:

  


  
  
  

  

  


  


  
  

  

And the checkbox:



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] adding a bootstrapper breaks comboboxes on custom UI!

2009-04-16 Thread barry

hi, anyone got any ideas 

or if anyone could see if theres anything wrong with the way im setting up the 
comboboxes that would also be a great help!

or if anyone can tell me the correct way to create a bootstrapper in case my 
approach is causing the issue

cheers,
barry



-- 
View this message in context: 
http://n2.nabble.com/adding-a-bootstrapper-breaks-comboboxes-on-custom-UI%21-tp2631805p2642329.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Single installer for 32-bit and 64-bit

2009-04-16 Thread Pally Sandher
As Simon Dahlbacka said, no.

An MSI has to target a specific platform which has to be either "Intel"
(aka Win32 or x86), "Intel64" (aka ia-64) or x64 (can also be AMD64 but
this is deprecated to x64).
An x86 MSI can't target x64 specific directories. Try it & if you look
at the logs you'll see something called WIN64DUALFOLDERS redirect any
x64 paths to the x86 one (e.g. "Program Files" will become "Program
Files (x86)"). An x64 MSI can target x86 specific directories but it
won't even attempt to install on an x86 platform. The phrase about a
rock and a hard place probably comes to mind at this point.

You could however do what I've seen other people do in this case. Create
both MSI's (x86 & x64) and bundle them with a bootstrapper which
installs the right one for the users architecture or just make both
available for download & set a LaunchCondition using VersionNT64 as the
inner text on the x86 one if you wish to force your users not to use the
x86 one on x64 platforms.

Good luck.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
 

-Original Message-
From: Prashant Murthy [mailto:prash...@gmail.com] 
Sent: 15 April 2009 20:05
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Single installer for 32-bit and 64-bit

Hi All,

Is it possible to bundle 32-bit and 64-bit files into a single MSI and
install the appropriate ones based on the system on which it is being
installed?

Specifically, I have a 32-bit driver (.sys) file and a 64-bit driver
(.sys) file. The rest of the files are all 32-bit.

I am trying to use DifxApp to build the msi. However, it appears that I
need to specify one of the two lib files to the wix linker (Light.exe)
as a "reference" - difxapp_x64.wixlib or difxapp_x86.wixlib.

Is it even possible to have a single msi file in this case? I would
appreciate your thoughts on this topic.

Thanks,
Prashant

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/bb204770(VS.85).aspx#no_selfreg
http://msdn.microsoft.com/en-us/library/aa371608.aspx

As Phil recommends, use heat.exe to extract the COM registration
information from your DLL's and/or OCX's. It is very good at doing this
& the generated code should need only a few paths fixed (if only it
handled executable COM servers too it'd be perfect). You can then add
the generated fragment to your project, build & it should be good to go.

Good luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 

 

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: 16 April 2009 01:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

You can't guarantee the order in which files in your MSI file will get
installed, so you can't be sure that the VC 9 runtime is installed
before your COM Dlls try to self-register.   So it's not really
surprising that at the end of the install it will work (because now all
the files are there). 

You *can* guarantee the order on Vista and later - the VC 9 runtime
definitely *won't* be installed when your VC 9 tries to self-register. 

Somewhere in the archives here and elsewhere (the Windows Installer Team
blog) you'll find remarks on the evil of self-registration, and now you
see why. You should extract the COM registration and add it to your
setup (Heat.exe).  Other solutions that people have used are static
links to the C runtime Dlls or making the VC redist a prerequisite to
running the install. 

Phil Wilson 



-Original Message-
From: Taresh Parekh [mailto:tpar...@nvidia.com]
Sent: Wednesday, April 15, 2009 12:19 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Fails to register a dll that depends on VC9 runtime

Hi there,

We've created a Wix based installer that has a few COM dlls that use VC
9.0 runtime dlls. We've included the VC9 runtime merge modules in our
product.wxs file & it even installs the merge modules.
But it fails to self register the COM dlls. Surprisingly if we ignore
the failure & complete the installation we are able to register the dll
manually (using regsvr32). I've seen some posts where self registration
is discouraged but I haven't been able to find a fix.
http://n2.nabble.com/DLL-failing-to-register-on-a-SeflRegCost-file-td239
5700.html
http://blogs.microsoft.co.il/blogs/yanush/archive/2008/09/22/howto-use-r
egsvr32-exe-with-wix.aspx

Already spent a few days to figure out a fix so any help would be
appreciated.





---
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.

---

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Pally Sandher
I use devenv.exe in my build script to build a solution with my 5 WiX
projects regularly. I'm using VS 2005 with the latest WiX 3.0 toolset
(currently v3.0.5210.0, I update generally every time a new build is
posted on the RSS feed).

Have you tried looking at the error log when you build? Try piping it to
a file so you can paste to an e-mail at your leisure.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: 16 April 2009 07:10
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem building a WIX project using devenv

Hey Moiz,

Have you tried msbuild.exe instead of devenv.exe using the command line?

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz) 
wrote:

> Hi All,
>
> I am new to this forum. I started working with WIX about a week and 
> have moved an existing setup which I had originally written (created) 
> using the Visual Studio Setup project to WIX.
>
> I am seeing issues with building my WIX project from the command line 
> using devenv. The same project builds just fine from within Visual 
> Studio.
>
> I tried creating a very simple WIXProject and building it from the 
> command line. That works! However when I started adding references and

> code to my project it does not build anymore.
>
> I am going to continue with trial/error to figure out what the problem

> if anyone has had luck with using devenv to build a non-trivial wix 
> setup project I would like to know how you got it to work.
>
> Thanks,
> -Moiz
>
> --
>  Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save $200 on 
> the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to Display Installed Path in Icon Tooltip

2009-04-16 Thread Pally Sandher
The text in the Description attribute is what is displayed for the
tooltip to the best of my knowledge.
Change it from "$(var.ProductName)" to "[INSTALLDIR]" and it should in
theory work but you may need to use a public property (e.g. TOOLTIPDIR)
and set it to INSTALLDIR using a Type 51 CustomAction which runs before
CreateShortcuts otherwise you may get the default value of INSTALLDIR
rather than the actual one set during the install.

Public Properties ->
http://msdn.microsoft.com/en-us/library/aa370912.aspx
Types of Custom Actions ->
http://msdn.microsoft.com/en-gb/library/aa372048.aspx
InstallExecuteSequence ->
http://msdn.microsoft.com/en-us/library/aa372038.aspx

Good luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 

-Original Message-
From: Prabhat Nath [mailto:prabhat.n...@gmail.com] 
Sent: 16 April 2009 09:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to Display Installed Path in Icon Tooltip

Hello,



I have WiX project and here is how I create desktop shortcut and able to
show tooltip too. But how can I modify this to show the "Installed
Location"
as the tooltip?





  



  



  

  





Any suggestion/pointer is appreciated.



Thanks,

Prabhat Nath


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to grab directory of Excel.exe during installation

2009-04-16 Thread Dominik Guder



Basically, I know that the following registry key contains the directory
I want and that it is consistent over Excel 2002/XP, Excel 2003 and
Excel 2007 (same GUID for all three versions).

HKCR\CLSID\{00024500---C000-0046}\LocalServer32

The value of this registry key is something like:
C:\PROGRA~1\MICROS~2\OFFICE11\EXCEL.EXE /automation

I just want the directory put into another MSI property, so I can copy
another file (Excel.exe.config) to that same directory during my WiX/MSI
installation.



Hi,

you might use a RegistrySearch for
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe 
if you only need the active excel application





If you need others you could use "Path" value on following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\10.0\Excel\InstallRoot
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\11.0\Excel\InstallRoot
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Excel\InstallRoot 

hth

Dominik
-- 
View this message in context: 
http://n2.nabble.com/Re%3A-How-to-grab-directory-of-Excel.exe-during-installation-tp2642487p2642487.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Major Upgrades

2009-04-16 Thread Jeff Reed
I apologize about the previous post.  I didn't trim it down to just minimal 
text.  After this 2nd question, I'll shut up for a while. :)

Hi everyone,

In the Wix tutorial, it indicates that (among other things) changing a 
component ID forces the MSI to be a major upgrade (meaning package GUID, 
product GUID, and product version have to change).

The "What happens if the component rules are broken?" article 
(http://msdn.microsoft.com/en-us/library/aa372795.aspx) indicates that 
adding/removing resources to/from a component means the component ID needs to 
change, forcing a major upgrade.

The situation I'm envisioning, I wouldn't want the old and new versions to 
coexist on the machine.  For instance, I have a new dll file that needs to go 
along with some atomic set of dlls already identified in a component (perhaps I 
split some work out into its own dll for code maintainability purposes, but 
they still all install/uninstall together).

Thus, it seems I would need to do an uninstall, followed by an install of the 
new version.  If that is true, I need my uninstalls to be non-destructive to 
data.  For example, I don't want to drop a SQL table full of important data 
that I installed with the old version, just to turn around and recreate it 
empty in the new version.  Should I try to dream up a way to detect its an 
upgrade and uninstall differently, or is there a best practice that I am 
missing?

Thanks,

Jeff Reed | Field Engineering | Duck Creek Technologies | 
ree...@duckcreektech.com

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] REINSTALL, REINSTALLMODE, and component reference counting

2009-04-16 Thread Jeff Reed
Hi everyone,

I was reading Rob's blog about component rules and had a couple of questions:
http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101

(FYI, it is completely acceptable to just point me to a place where I can learn 
the answer as well.  I'm struggling to learn where to look for what in the 
documentation (Wix documentation vs Windows Installer 4.5 SDK documentation, 
etc.)  Along those same lines, is there a way to search the wix-users archive?  
I haven't figured it out yet if there is, although Google seems to pick up some 
things here and there.)

- When an install is repaired, and one or more components are therefore 
reinstalled (say REINSTALL=ALL and REINSTALLMODE=/a), what happens to the 
component reference count?  Does it change, or stay the same?  I'm assuming it 
stays the same, but I don't know how to check "under the hood" and watch them 
for myself.

Thanks,

Jeff Reed | Field Engineering | Duck Creek Technologies | 
ree...@duckcreektech.com

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material.  Any 
review, retransmission, dissemination or other use of, or taking of any action 
in reliance upon, this information by persons or entities other than the 
intended recipient is prohibited.  If you received this in error, please 
contact the sender and delete the material from any computer.


-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Thursday, April 16, 2009 1:10 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem building a WIX project using devenv

Hey Moiz,

Have you tried msbuild.exe instead of devenv.exe using the command line?

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz)  wrote:

> Hi All,
>
> I am new to this forum. I started working with WIX about a week and have
> moved an existing setup which I had originally written (created) using
> the Visual Studio Setup project to WIX.
>
> I am seeing issues with building my WIX project from the command line
> using devenv. The same project builds just fine from within Visual
> Studio.
>
> I tried creating a very simple WIXProject and building it from the
> command line. That works! However when I started adding references and
> code to my project it does not build anymore.
>
> I am going to continue with trial/error to figure out what the problem
> if anyone has had luck with using devenv to build a non-trivial wix
> setup project I would like to know how you got it to work.
>
> Thanks,
> -Moiz
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Build Error in light.exe when building with VS2005

2009-04-16 Thread nickheppleston

All,
I'm trying to create a very simple WiX MSI installer consisting of two files, 
however I'm receiving the following build error from light.exe:

The system cannot find the file '..\BizTalk Message Archiving Component 
Properties\bin\Deployment\Modhul.BizTalk.Pipelines.ArchiveMessages.Properties.dll'
 with type ''.

The file exists and the relative path appears to be correct given that the 
error message changes (it drops the 'with type' bit) when I change the path 
(i.e. make it invalid).

FYI, my current WiX file is as follows:










I am running the latest build of WiX 3.0 with Votive. I am using Visual Studio 
2005 to build the project.

Any help on this one greatly appreciated.

Kind regards, Nick.



-- 
View this message in context: 
http://n2.nabble.com/Build-Error-in-light.exe-when-building-with-VS2005-tp2642626p2642626.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Major Upgrades

2009-04-16 Thread Don Benson
Windows Installer defines the UPGRADINGPRODUCTCODE property when a product
is being removed as part of a major upgrade. A typical condition you might
use is "NOT UPGRADINGPRODUCTCODE".
- Don Benson -

On Thu, Apr 16, 2009 at 8:00 AM, Jeff Reed  wrote:

> I apologize about the previous post.  I didn't trim it down to just minimal
> text.  After this 2nd question, I'll shut up for a while. :)
>
> Hi everyone,
>
> In the Wix tutorial, it indicates that (among other things) changing a
> component ID forces the MSI to be a major upgrade (meaning package GUID,
> product GUID, and product version have to change).
>
> The "What happens if the component rules are broken?" article (
> http://msdn.microsoft.com/en-us/library/aa372795.aspx) indicates that
> adding/removing resources to/from a component means the component ID needs
> to change, forcing a major upgrade.
>
> The situation I'm envisioning, I wouldn't want the old and new versions to
> coexist on the machine.  For instance, I have a new dll file that needs to
> go along with some atomic set of dlls already identified in a component
> (perhaps I split some work out into its own dll for code maintainability
> purposes, but they still all install/uninstall together).
>
> Thus, it seems I would need to do an uninstall, followed by an install of
> the new version.  If that is true, I need my uninstalls to be
> non-destructive to data.  For example, I don't want to drop a SQL table full
> of important data that I installed with the old version, just to turn around
> and recreate it empty in the new version.  Should I try to dream up a way to
> detect its an upgrade and uninstall differently, or is there a best practice
> that I am missing?
>
> Thanks,
>
> Jeff Reed | Field Engineering | Duck Creek Technologies |
> ree...@duckcreektech.com
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Brian Simoneau
What are you using then to handle executable COM servers?

-Brian Simoneau

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: Thursday, April 16, 2009 6:40 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

http://msdn.microsoft.com/en-us/library/bb204770(VS.85).aspx#no_selfreg
http://msdn.microsoft.com/en-us/library/aa371608.aspx

As Phil recommends, use heat.exe to extract the COM registration
information from your DLL's and/or OCX's. It is very good at doing this
& the generated code should need only a few paths fixed (if only it
handled executable COM servers too it'd be perfect). You can then add
the generated fragment to your project, build & it should be good to go.

Good luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 

 

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com] 
Sent: 16 April 2009 01:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

You can't guarantee the order in which files in your MSI file will get
installed, so you can't be sure that the VC 9 runtime is installed
before your COM Dlls try to self-register.   So it's not really
surprising that at the end of the install it will work (because now all
the files are there). 

You *can* guarantee the order on Vista and later - the VC 9 runtime
definitely *won't* be installed when your VC 9 tries to self-register. 

Somewhere in the archives here and elsewhere (the Windows Installer Team
blog) you'll find remarks on the evil of self-registration, and now you
see why. You should extract the COM registration and add it to your
setup (Heat.exe).  Other solutions that people have used are static
links to the C runtime Dlls or making the VC redist a prerequisite to
running the install. 

Phil Wilson 



-Original Message-
From: Taresh Parekh [mailto:tpar...@nvidia.com]
Sent: Wednesday, April 15, 2009 12:19 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Fails to register a dll that depends on VC9 runtime

Hi there,

We've created a Wix based installer that has a few COM dlls that use VC
9.0 runtime dlls. We've included the VC9 runtime merge modules in our
product.wxs file & it even installs the merge modules.
But it fails to self register the COM dlls. Surprisingly if we ignore
the failure & complete the installation we are able to register the dll
manually (using regsvr32). I've seen some posts where self registration
is discouraged but I haven't been able to find a fix.
http://n2.nabble.com/DLL-failing-to-register-on-a-SeflRegCost-file-td239
5700.html
http://blogs.microsoft.co.il/blogs/yanush/archive/2008/09/22/howto-use-r
egsvr32-exe-with-wix.aspx

Already spent a few days to figure out a fix so any help would be
appreciated.





---
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.

---

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today

[WiX-users] Including output from tallow

2009-04-16 Thread Damien Karkinsky
Hello,

The tutorial shows how tallow can be used to generate a fragment for a
COM component. None of the include mechanisms however seem to fit with
the output form tallow. Include files need to start with  and
merge modules need to contain a .  I would like to keep COM
components in separate files. Can anyone point me in the right direction
as to what the best method is?

Thank you
Damien


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fails to register a dll that depends on VC9 runtime

2009-04-16 Thread Pally Sandher
 
RegSpy to generate a .reg file of the COM server's registration info.
tallow.exe from WiX 2.0 on the .reg file to generate a .wxs as heat.exe
doesn't process .reg files either (or it didn't last time I checked)
even though it's predecessor did.
WiXCop.exe on the .wxs to convert it to 3.0 code.

Unfortunately I've yet to find a less long-winded process but thankfully
I don't need to do it too often.

RegSpy can be found at http://www.installsite.org/pages/en/msi/tips.htm


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 

-Original Message-
From: Brian Simoneau [mailto:bsimon...@freedomscientific.com] 
Sent: 16 April 2009 15:03
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

What are you using then to handle executable COM servers?

-Brian Simoneau

-Original Message-
From: Pally Sandher [mailto:pally.sand...@iesve.com]
Sent: Thursday, April 16, 2009 6:40 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

http://msdn.microsoft.com/en-us/library/bb204770(VS.85).aspx#no_selfreg
http://msdn.microsoft.com/en-us/library/aa371608.aspx

As Phil recommends, use heat.exe to extract the COM registration
information from your DLL's and/or OCX's. It is very good at doing this
& the generated code should need only a few paths fixed (if only it
handled executable COM servers too it'd be perfect). You can then add
the generated fragment to your project, build & it should be good to go.

Good luck.

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501 

http://www.iesve.com
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP Email Disclaimer
 

 

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@wonderware.com]
Sent: 16 April 2009 01:44
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Fails to register a dll that depends on VC9
runtime

You can't guarantee the order in which files in your MSI file will get
installed, so you can't be sure that the VC 9 runtime is installed
before your COM Dlls try to self-register.   So it's not really
surprising that at the end of the install it will work (because now all
the files are there). 

You *can* guarantee the order on Vista and later - the VC 9 runtime
definitely *won't* be installed when your VC 9 tries to self-register. 

Somewhere in the archives here and elsewhere (the Windows Installer Team
blog) you'll find remarks on the evil of self-registration, and now you
see why. You should extract the COM registration and add it to your
setup (Heat.exe).  Other solutions that people have used are static
links to the C runtime Dlls or making the VC redist a prerequisite to
running the install. 

Phil Wilson 



-Original Message-
From: Taresh Parekh [mailto:tpar...@nvidia.com]
Sent: Wednesday, April 15, 2009 12:19 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Fails to register a dll that depends on VC9 runtime

Hi there,

We've created a Wix based installer that has a few COM dlls that use VC
9.0 runtime dlls. We've included the VC9 runtime merge modules in our
product.wxs file & it even installs the merge modules.
But it fails to self register the COM dlls. Surprisingly if we ignore
the failure & complete the installation we are able to register the dll
manually (using regsvr32). I've seen some posts where self registration
is discouraged but I haven't been able to find a fix.
http://n2.nabble.com/DLL-failing-to-register-on-a-SeflRegCost-file-td239
5700.html
http://blogs.microsoft.co.il/blogs/yanush/archive/2008/09/22/howto-use-r
egsvr32-exe-with-wix.aspx

Already spent a few days to figure out a fix so any help would be
appreciated.





---
This email message is for the sole use of the intended recipient(s) and
may contain confidential information.  Any unauthorized review, use,
disclosure or distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy all
copies of the original message.

---

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Re

Re: [WiX-users] Including output from tallow

2009-04-16 Thread Pally Sandher
Use , works fine for me doing exactly what you're trying to.
Better still use heat.exe to generate your Fragments & it'll save you
time. Heat.exe is the WiX 3.0 replacement for tallow.exe.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 

 
 
 
-Original Message-
From: Damien Karkinsky [mailto:d...@adelard.com] 
Sent: 16 April 2009 15:23
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Including output from tallow

Hello,

The tutorial shows how tallow can be used to generate a fragment for a
COM component. None of the include mechanisms however seem to fit with
the output form tallow. Include files need to start with  and
merge modules need to contain a .  I would like to keep COM
components in separate files. Can anyone point me in the right direction
as to what the best method is?

Thank you
Damien



--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Raja, Moiz (Moiz)
Brian,

I haven't tried msbuild mostly because I don't want to redo the
configuration I already have in my solution. 

-Moiz


Hey Moiz,

Have you tried msbuild.exe instead of devenv.exe using the command line?

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz) 
wrote:

> Hi All,
>
> I am new to this forum. I started working with WIX about a week and 
> have moved an existing setup which I had originally written (created) 
> using the Visual Studio Setup project to WIX.
>
> I am seeing issues with building my WIX project from the command line 
> using devenv. The same project builds just fine from within Visual 
> Studio.
>
> I tried creating a very simple WIXProject and building it from the 
> command line. That works! However when I started adding references and

> code to my project it does not build anymore.
>
> I am going to continue with trial/error to figure out what the problem

> if anyone has had luck with using devenv to build a non-trivial wix 
> setup project I would like to know how you got it to work.
>
> Thanks,
> -Moiz
>
> --
>  Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save $200 on 
> the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Weekly releases feed looks broken

2009-04-16 Thread Rob Mensching
Should be fixed now.

Pally Sandher wrote:
> http://wix.sourceforge.net/releases/wix3.feed
> To me it's missing the change lists for 06 April 2009 & 07 April 2009
> builds. I'm viewing it using IE7's built-in RSS feed viewer on XP64SP2
> (both fully up to date with MS Updates). No bells or whistles added.
> Anyone else see the same or different?
>
> Cheers,
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the **
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Start Menu Shortcut Problem

2009-04-16 Thread Rob Mensching
The following basically covers what you are asking: 
http://robmensching.com/blog/archive/2007/04/27/How-to-create-an-uninstall-shortcut-and-pass-all-the.aspx


Stryder Crown wrote:
> ok, so, what's the difference between including the shortcut as a child
> element to the File node, or creating an entire component around the
> shortcut?  And do we really need registry writes for a shortcut element?
> What does that achieve?  Link to an article?
>
> *curious*
>
> Stryder
>
> On Wed, Apr 8, 2009 at 9:26 AM, Pally Sandher wrote:
>
>   
>> The WiX.chm file has a section in the How To Guides on Shortcuts. It
>> explains all this in detail.
>>
>>
>> Palbinder Sandher
>> Software Deployment & IT Administrator
>> T: +44 (0) 141 945 8500
>> F: +44 (0) 141 945 8501
>>
>> http://www.iesve.com
>> **Design, Simulate + Innovate with the **
>> Integrated Environmental Solutions Limited. Registered in Scotland No.
>> SC151456
>> Registered Office - Helix Building, West Of Scotland Science Park,
>> Glasgow G20 0SP
>> Email Disclaimer
>>
>>
>>
>> -Original Message-
>> From: Madden, William [mailto:william.mad...@sage.com]
>> Sent: 08 April 2009 16:35
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Start Menu Shortcut Problem
>>
>> I just went through this myself use AllUsersProgramMenuFolder as the
>> parent this is "perMachine" where ProgramMenuFolder is "perUser".
>>
>> I did have to create a RemoveFolder entry for my subfolder and set
>> On="Uninstall"
>>
>> William Madden
>> T:  480.368.3736 (x7679)
>>
>> -Original Message-
>> From: Lanteigne, Alan [mailto:alan.lantei...@inin.com]
>> Sent: Wednesday, April 08, 2009 7:59 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Start Menu Shortcut Problem
>>
>> Hello Wix World:
>>
>> While trying to setup a shortcut to an EXE, I'm getting this error:
>>
>> ICE64: The directory ProgramMenuDir is in the user profile but is not
>> listed in the RemoveFile table.
>>
>> I thought I had done everything correctly but apparently I'm missing
>> something.  Googling shows something about ProgramMenuFolder being
>> specific to a user's profile, but I'm trying to setup this shortcut for
>> "All Users"... not just one user.  For one thing, I want newly created
>> users (after the app is installed) to have the shortcut appear.  Also,
>> the "My App Folder" is used by other programs so I don't want to remove
>> it if this MSI is uninstalled.
>>
>> Here's what I'm doing:
>>
>>
>>
>>  > Guid="193119C5-AF4B-4432-9406-FFF1C34DE71D">
>>> Source="BuildFiles\System32\ myTest.exe" Vital="yes" KeyPath="yes"
>> DiskId="1" />
>>> Name="Run myTest " Icon="myTestIcon" IconIndex="0" Show="normal"
>> WorkingDirectory="sys32Folder" />
>>  
>>
>>  
>>
>>  
>>
>>  
>>  
>>
>>
>>
>> I later define the Icon and set the ALLUSERS property to 1.
>>
>> What am I missing or not understanding?
>>
>> Thanks,
>>
>> Alan
>>
>> -Original Message-
>> From: wix-users-requ...@lists.sourceforge.net
>> [mailto:wix-users-requ...@lists.sourceforge.net]
>> Sent: Tuesday, April 07, 2009 3:02 PM
>> To: wix-users@lists.sourceforge.net
>> Subject: WiX-users Digest, Vol 35, Issue 30
>>
>> Send WiX-users mailing list submissions to
>>wix-users@lists.sourceforge.net
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>https://lists.sourceforge.net/lists/listinfo/wix-users
>> or, via email, send a message with subject or body 'help' to
>>wix-users-requ...@lists.sourceforge.net
>>
>> You can reach the person managing the list at
>>wix-users-ow...@lists.sourceforge.net
>>
>> When replying, please edit your Subject line so it is more specific than
>> "Re: Contents of WiX-users digest..."
>>
>>
>> Today's Topics:
>>
>>   1. Re: Votive not working in build 3.0.5207 (Neil Sleightholm)
>>   2. Re: ICE64: The directory ProgramMenuDir is in the user
>>  profile but is not listed in the RemoveFile table. (Rob Mensching)
>>   3. Re: Check for IIS application pools (Rob Mensching)
>>   4.  DTF build issue (mcheshier)
>>   5. Re: how to change an installed package? (Alan Sinclair)
>>   6. Re: Check for IIS application pools (mcheshier)
>>   7. Re: how to change an installed package? (Karl Denning)
>>
>>
>> --
>>
>> Message: 1
>> Date: Tue, 7 Apr 2009 18:04:10 +0100
>> From: "Neil Sleightholm" 
>> Subject: Re: [WiX-users] Votive not working in build 3.0.5207
>> To: "General discussion for Windows Installer XML toolset."
>>
>> Message-ID:
>>
>> Content-Type: text/plain;   charset="us-ascii"
>>
>> I have just confirmed this on another PC. Create a new WiX project,
>> right click on project and select "Add | New folder" and you get an
>> error "The operation cannot be completed".
>>
>> Bug raised:
>> https://sourceforge.net/tracker/?func=detai

[WiX-users] Write to a configuration file based on a condition

2009-04-16 Thread Anu Dev
Hi
 
I am writing to a configuration file during installation. I want to write to 
the configuration based on selection of a radio button. Can anyone please let 
me know how this can be achieved 
 
Thank you
Anweshi 


  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Castro, Edwin (Hillsboro)
Theoretically, devenv.exe will call msbuild under the covers. You can tell 
msbuild to build your solution and tell it which configuration/platform you 
want to build. Something like:

msbuild path\to\solution.sln /p:Configuration=Release /p:Platform="Mixed 
Platforms" /t:Build

Some more information about how devenv is failing would help. Oh, I should 
mention that devenv is required to build C++ projects at the moment because 
msbuild does not support C++ projects yet.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -Original Message-
> From: Raja, Moiz (Moiz) [mailto:mr...@avaya.com]
> Sent: Thursday, April 16, 2009 9:41 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
>
> Brian,
>
> I haven't tried msbuild mostly because I don't want to redo the
> configuration I already have in my solution.
>
> -Moiz
>
>
> Hey Moiz,
>
> Have you tried msbuild.exe instead of devenv.exe using the command
> line?
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz) 
> wrote:
>
> > Hi All,
> >
> > I am new to this forum. I started working with WIX about a week and
> > have moved an existing setup which I had originally written (created)
> > using the Visual Studio Setup project to WIX.
> >
> > I am seeing issues with building my WIX project from the command line
> > using devenv. The same project builds just fine from within Visual
> > Studio.
> >
> > I tried creating a very simple WIXProject and building it from the
> > command line. That works! However when I started adding references
> and
>
> > code to my project it does not build anymore.
> >
> > I am going to continue with trial/error to figure out what the
> problem
>
> > if anyone has had luck with using devenv to build a non-trivial wix
> > setup project I would like to know how you got it to work.
> >
> > Thanks,
> > -Moiz
> >
> > -
> -
> >  Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save $200 on
> > the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> ---
> -
> --
> Stay on top of everything new and different, both inside and around
> Java
> (TM) technology - register by April 22, and save $200 on the JavaOne
> (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ---
> ---
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Thomas S. Trias
Solutions and projects for VS 2005+ (and perhaps earlier; I skipped 
2003) are well understood by msbuild.  The project files use their own 
msbuild tasks.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


 Original Message  
Subject: Re: [WiX-users] Problem building a WIX project using devenv
From: Raja, Moiz (Moiz) 
To: General discussion for Windows Installer XML toolset.   
 
Date: 4/16/2009 11:40 AM
> Brian,
>
> I haven't tried msbuild mostly because I don't want to redo the
> configuration I already have in my solution. 
>
> -Moiz
>
>
> Hey Moiz,
>
> Have you tried msbuild.exe instead of devenv.exe using the command line?
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>   


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] REINSTALL, REINSTALLMODE, and component reference counting

2009-04-16 Thread Rob Mensching
Component reference count is managed by the number of Products that 
installed that Component. Repairing doesn't affect the count since the 
Product remains installed.

Jeff Reed wrote:
> Hi everyone,
>
> I was reading Rob's blog about component rules and had a couple of questions:
> http://robmensching.com/blog/posts/2003/10/18/Component-Rules-101
>
> (FYI, it is completely acceptable to just point me to a place where I can 
> learn the answer as well.  I'm struggling to learn where to look for what in 
> the documentation (Wix documentation vs Windows Installer 4.5 SDK 
> documentation, etc.)  Along those same lines, is there a way to search the 
> wix-users archive?  I haven't figured it out yet if there is, although Google 
> seems to pick up some things here and there.)
>
> - When an install is repaired, and one or more components are therefore 
> reinstalled (say REINSTALL=ALL and REINSTALLMODE=/a), what happens to the 
> component reference count?  Does it change, or stay the same?  I'm assuming 
> it stays the same, but I don't know how to check "under the hood" and watch 
> them for myself.
>
> Thanks,
>
> Jeff Reed | Field Engineering | Duck Creek Technologies | 
> ree...@duckcreektech.com
>
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential and/or privileged 
> material.  Any review, retransmission, dissemination or other use of, or 
> taking of any action in reliance upon, this information by persons or 
> entities other than the intended recipient is prohibited.  If you received 
> this in error, please contact the sender and delete the material from any 
> computer.
>
>
> -Original Message-
> From: Brian Rogers [mailto:rogers.br...@gmail.com]
> Sent: Thursday, April 16, 2009 1:10 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
>
> Hey Moiz,
>
> Have you tried msbuild.exe instead of devenv.exe using the command line?
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Wed, Apr 15, 2009 at 2:51 PM, Raja, Moiz (Moiz)  wrote:
>
>   
>> Hi All,
>>
>> I am new to this forum. I started working with WIX about a week and have
>> moved an existing setup which I had originally written (created) using
>> the Visual Studio Setup project to WIX.
>>
>> I am seeing issues with building my WIX project from the command line
>> using devenv. The same project builds just fine from within Visual
>> Studio.
>>
>> I tried creating a very simple WIXProject and building it from the
>> command line. That works! However when I started adding references and
>> code to my project it does not build anymore.
>>
>> I am going to continue with trial/error to figure out what the problem
>> if anyone has had luck with using devenv to build a non-trivial wix
>> setup project I would like to know how you got it to work.
>>
>> Thanks,
>> -Moiz
>>
>> --
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> 
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on 

[WiX-users] Custom icon in Add/Remove programs

2009-04-16 Thread Sudripta Nandy (Sarangsoft Corporation)
Is there a way I can set the icon for my application to be shown in the 
'Add/Remove Programs' under control panel?


Thanks.
Sudripta.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Christopher Painter

2003 wasn't msbuild.  Also certain project types ( VDPROJ for one ) are bastard 
stepchildren that don't do msbuild.

I wrote about this a couple years ago:

http://blog.deploymentengineering.com/2007/05/proj-is-for-msbuild-projects.html

As for solutions, basically msbuild reads, tranforms and emits an in-memory 
msbuild document that represents the sln file.  One day sln will be an msbuild 
file proper.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Thu, 4/16/09, Thomas S. Trias  wrote:

> From: Thomas S. Trias 
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
> To: "General discussion for Windows Installer XML toolset." 
> 
> Date: Thursday, April 16, 2009, 11:53 AM
> Solutions and projects for VS 2005+
> (and perhaps earlier; I skipped 
> 2003) are well understood by msbuild.  The project
> files use their own 
> msbuild tasks.
> 
> Thanks,
> 
> Thomas S. Trias
> Senior Developer
> Artizan Internet Services
> http://www.artizan.com/
> 
> 
>  Original Message  
> Subject: Re: [WiX-users] Problem building a WIX project
> using devenv
> From: Raja, Moiz (Moiz) 
> To: General discussion for Windows Installer XML
> toolset.   
>  
> Date: 4/16/2009 11:40 AM
> > Brian,
> >
> > I haven't tried msbuild mostly because I don't want to
> redo the
> > configuration I already have in my solution. 
> >
> > -Moiz
> >
> >
> > Hey Moiz,
> >
> > Have you tried msbuild.exe instead of devenv.exe using
> the command line?
> >
> > Thanks,
> >
> > Brian Rogers
> > "Intelligence removes complexity." - Me
> > http://icumove.spaces.live.com
> >   
> 
> 
> --
> Stay on top of everything new and different, both inside
> and 
> around Java (TM) technology - register by April 22, and
> save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San
> Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


  

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Thomas S. Trias
Thanks!  I figured as much about solution files, since they aren't even 
XML.  :-)

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


 Original Message  
Subject: Re: [WiX-users] Problem building a WIX project using devenv
From: Christopher Painter 
To: General discussion for Windows Installer XML toolset. 
, tomtr...@artizan.com
Date: 4/16/2009 1:27 PM
> 2003 wasn't msbuild.  Also certain project types ( VDPROJ for one ) are 
> bastard stepchildren that don't do msbuild.
>
> I wrote about this a couple years ago:
>
> http://blog.deploymentengineering.com/2007/05/proj-is-for-msbuild-projects.html
>
> As for solutions, basically msbuild reads, tranforms and emits an in-memory 
> msbuild document that represents the sln file.  One day sln will be an 
> msbuild file proper.
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves 
> attention? E-Mail Me
>
>   


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
Hi,
  I have some issue with deferred CA on WTS.
I am creating installer package :  that execute deferred CA
that read some data from file that stored on network drive. When
installation is executed on Terminal Server and user that execute
installer have admin privileges - deferred CA do not see any network
drive. I checked with debugger that CA running with SYSTEM privileges
instead of user privileges.

I found some web page
(http://msdn.microsoft.com/en-us/library/aa368073(VS.85).aspx ) that
explain this issue. But I don't know how to do it with Wix,

Regards,
  Dima

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS virtual web directory modification/settings

2009-04-16 Thread John Trump
Thanks Tom.

I have implemented #1 with no problem, but #2 is giving me some build
errors.

First it would not recognize the following as part of the PermissionEx
schema:

Type="allow" ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="no

So, I took those out, but now I get this error:

error LGHT0130 : The primary key
'INSTALLDIR.0781BB0D_8666_4D92_9BC2_7C15FBCAA7B6/CreateFolder/[ComputerN
ame]/ASPNET' is duplicated in table 'SecureObjects'.  Please remove one
of the entries or rename a part of the primary key to avoid the
collision.

Here is how I have set it up:

   
 
   
 
   
   
 

John

-Original Message-
From: Thomas S. Trias [mailto:tomtr...@artizan.com] 
Sent: Tuesday, April 14, 2009 5:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] IIS virtual web directory modification/settings

1. I ended up calling aspnet_regiis from a custom action (if there is a 
better way, someone speak up):









  NOT 
(SKIPCONFIGUREIIS OR Installed) AND VersionNT > 400
  NOT 
(SKIPCONFIGUREIIS OR Installed) AND VersionNT > 400


Note that I set the script maps by hand using WiX akin to the following:

  

Note that the NETFRAMEWORK20INSTALLROOTDIR property requires the Wix 
NetFx Extension; you can search for it yourself, but why?  :-)

2.  I used util:PermissionEx elements as a child of a CreateFolder 
element associated with the target of the virtual directory:




That snippet gives ".\ASPNET" Read and Traverse Folder privileges.  At 
some point, I may add an improvement to handle that with a single 
element (and thus differentiate Traverse and Execute depending upon 
ApplyToFiles).

Note that it is much safer to use [ComputerName] instead of leaving out 
the Domain attribute entirely (except for well known accounts) or "."; 
things may work on XP / 2K, but then fail on Vista / 2K3.

3.  Use iis:WebDirProperties:



Unfortunately, I couldn't find any reference to MD_DIRECTORY_BROWSING 
(which is a set of flags that controls the "Enable Default Document" 
setting, along with various aspects of directory browsing); you should 
look for a feature request in the issue tracker and add it if it is not 
there.  Hopefully, someone else or I will get to it in the near future.

I noticed that a setting of "-" will clear the default documents 
(undocumented); it also looks like the default documents will get set 
(the code does not append them to any existing default documents), so 
you should have full control over the ordering.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/



 Original Message  
Subject: [WiX-users] IIS virtual web directory modification/settings
From: John Trump 
To: 
Date: 4/14/2009 2:28 PM
> I need to accomplish the following install tasks using WiX:
>
>  
>
> 1. Set ASP.NET version to 2.0.50727
>
>  
>
> 2. Set security for virtual web directory
>
>   a. Add the following users:
>
> i. \ASPNET  (for example MyServer\ASPNET)
>
> ii. \IIS_WPG  (for example MyServer\IIS_WPG)
>
>  
>
> 3. Set default content page
>
>   a. "Enable default content page"
>
>   b. set to .aspx
>
> c. In the list of pages, it needs to be the top entry.
>
>  
>
> Any ideas would be appreciated.
>
>  
>
> Thanks,
>
>  
>
> John Trump
>
>  
>
>
>   




--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS virtual web directory modification/settings

2009-04-16 Thread Thomas S. Trias
John,

My appologies; I sometimes forget which of the features I use are WiX 
cannon and which I have added / augmented.

On a positive note, I think I have worked all of the bugs out of my 
(based upon code by Cody Cutrer) PermissionEx changes.  I should be able 
to submit them next week.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


 Original Message  
Subject: Re: [WiX-users] IIS virtual web directory modification/settings
From: John Trump 
To: tomtr...@artizan.com, General discussion for Windows Installer XML 
toolset. 
Date: 4/16/2009 3:33 PM
> Thanks Tom.
>
> I have implemented #1 with no problem, but #2 is giving me some build
> errors.
>
> First it would not recognize the following as part of the PermissionEx
> schema:
>
> Type="allow" ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="no
>
> So, I took those out, but now I get this error:
>
> error LGHT0130 : The primary key
> 'INSTALLDIR.0781BB0D_8666_4D92_9BC2_7C15FBCAA7B6/CreateFolder/[ComputerN
> ame]/ASPNET' is duplicated in table 'SecureObjects'.  Please remove one
> of the entries or rename a part of the primary key to avoid the
> collision.
>
> Here is how I have set it up:
>
>
>  
> Guid="A2FDDF48-31B5-40D1-A738-366AB9E935E6">
>  
>  Read="yes" ReadAttributes="yes"
> ReadExtendedAttributes="yes"
>  ReadPermission="yes" Synchronize="yes" Traverse="yes"/>
>  Read="yes" ReadAttributes="yes"
>  ReadExtendedAttributes="yes" ReadPermission="yes"
> Synchronize="yes"/>
>  
>
> John
>
> -Original Message-
> From: Thomas S. Trias [mailto:tomtr...@artizan.com] 
> Sent: Tuesday, April 14, 2009 5:25 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] IIS virtual web directory modification/settings
>
> 1. I ended up calling aspnet_regiis from a custom action (if there is a 
> better way, someone speak up):
>
> 
>
> 
>  Value=""[NETFRAMEWORK20INSTALLROOTDIR]aspnet_regiis.exe" -ir 
> -enable"/>
>
>  DllEntry="CAQuietExec" Execute="deferred" Return="check"/>
>
> 
>   NOT 
> (SKIPCONFIGUREIIS OR Installed) AND VersionNT > 400
>   NOT 
> (SKIPCONFIGUREIIS OR Installed) AND VersionNT > 400
> 
>
> Note that I set the script maps by hand using WiX akin to the following:
>
>Executable="[NETFRAMEWORK20INSTALLROOTDIR]aspnet_isapi.dll" 
> Verbs="GET,HEAD,POST" CheckPath="no" Script="yes"/>
>
> Note that the NETFRAMEWORK20INSTALLROOTDIR property requires the Wix 
> NetFx Extension; you can search for it yourself, but why?  :-)
>
> 2.  I used util:PermissionEx elements as a child of a CreateFolder 
> element associated with the target of the virtual directory:
>
>  Type="allow" ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="no"
>
> Read="yes" ReadAttributes="yes" ReadExtendedAttributes="yes" 
> ReadPermission="yes" Synchronize="yes" Traverse="yes"/>
>  Type="allow" ApplyToSelf="yes" ApplyToSubfolders="yes" 
> ApplyToFiles="yes" Read="yes" ReadAttributes="yes" 
> ReadExtendedAttributes="yes" ReadPermission="yes" Synchronize="yes"/>
>
> That snippet gives ".\ASPNET" Read and Traverse Folder privileges.  At 
> some point, I may add an improvement to handle that with a single 
> element (and thus differentiate Traverse and Execute depending upon 
> ApplyToFiles).
>
> Note that it is much safer to use [ComputerName] instead of leaving out 
> the Domain attribute entirely (except for well known accounts) or "."; 
> things may work on XP / 2K, but then fail on Vista / 2K3.
>
> 3.  Use iis:WebDirProperties:
>
>  DefaultDocuments="myproductsname.aspx"/>
>
> Unfortunately, I couldn't find any reference to MD_DIRECTORY_BROWSING 
> (which is a set of flags that controls the "Enable Default Document" 
> setting, along with various aspects of directory browsing); you should 
> look for a feature request in the issue tracker and add it if it is not 
> there.  Hopefully, someone else or I will get to it in the near future.
>
> I noticed that a setting of "-" will clear the default documents 
> (undocumented); it also looks like the default documents will get set 
> (the code does not append them to any existing default documents), so 
> you should have full control over the ordering.
>
> Thanks,
>
> Thomas S. Trias
> Senior Developer
> Artizan Internet Services
> http://www.artizan.com/
>
>
>
>  Original Message  
> Subject: [WiX-users] IIS virtual web directory modification/settings
> From: John Trump 
> To: 
> Date: 4/14/2009 2:28 PM
>   
>> I need to accomplish the following install tasks using WiX:
>>
>>  
>>
>> 1. Set ASP.NET version to 2.0.50727
>>
>>  
>>
>> 2. Set security for virtual web directory
>>
>>   a. Add the following users:
>>
>> i. \ASPNET  (for example MyServer\ASPNET)
>>
>> ii. \IIS_WPG  (for example MyServer\I

[WiX-users] Error table in merge module

2009-04-16 Thread Sudripta Nandy (Sarangsoft Corporation)
I am trying to create a merge module. But, I am getting an error message in 
wixca.wxs. The error code is LGHT1054 and it states that 'Merge modules should 
not contain the Error table because all merge conflicts cannot be avoided.'.

How can I stop it from generating the error table or get rid of this error 
(maybe by suppressing the error message)?


Thanks.
Sudripta.



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem building a WIX project using devenv

2009-04-16 Thread Raja, Moiz (Moiz)
Using msbuild worked for me. 

The developer who worked on our build told me that initially we had to move to 
building using devenv because we could not build our previous setup using 
msbuild.

Thanks everyone for your responses.

-Moiz 

-Original Message-
From: Christopher Painter [mailto:chr...@deploymentengineering.com] 
Sent: Thursday, April 16, 2009 11:28 AM
To: General discussion for Windows Installer XML toolset.; tomtr...@artizan.com
Subject: Re: [WiX-users] Problem building a WIX project using devenv


2003 wasn't msbuild.  Also certain project types ( VDPROJ for one ) are bastard 
stepchildren that don't do msbuild.

I wrote about this a couple years ago:

http://blog.deploymentengineering.com/2007/05/proj-is-for-msbuild-projects.html

As for solutions, basically msbuild reads, tranforms and emits an in-memory 
msbuild document that represents the sln file.  One day sln will be an msbuild 
file proper.

Christopher Painter, Author of Deployment Engineering Blog Have a hot tip, know 
a secret or read a really good thread that deserves attention? E-Mail Me


--- On Thu, 4/16/09, Thomas S. Trias  wrote:

> From: Thomas S. Trias 
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
> To: "General discussion for Windows Installer XML toolset." 
> 
> Date: Thursday, April 16, 2009, 11:53 AM Solutions and projects for VS 
> 2005+ (and perhaps earlier; I skipped
> 2003) are well understood by msbuild.  The project files use their own 
> msbuild tasks.
> 
> Thanks,
> 
> Thomas S. Trias
> Senior Developer
> Artizan Internet Services
> http://www.artizan.com/
> 
> 
>  Original Message  
> Subject: Re: [WiX-users] Problem building a WIX project using devenv
> From: Raja, Moiz (Moiz) 
> To: General discussion for Windows Installer XML toolset.
>  
> Date: 4/16/2009 11:40 AM
> > Brian,
> >
> > I haven't tried msbuild mostly because I don't want to
> redo the
> > configuration I already have in my solution. 
> >
> > -Moiz
> >
> >
> > Hey Moiz,
> >
> > Have you tried msbuild.exe instead of devenv.exe using
> the command line?
> >
> > Thanks,
> >
> > Brian Rogers
> > "Intelligence removes complexity." - Me 
> > http://icumove.spaces.live.com
> >   
> 
> 
> --
>  Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save $200 on 
> the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


  

--
Stay on top of everything new and different, both inside and around Java (TM) 
technology - register by April 22, and save $200 on the JavaOne (SM) 
conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Why isn't the TypeLib table is created

2009-04-16 Thread Karl Denning

Hi

This has me stumped.
When I build my project including this fragment (below), the registry table is 
populated with the registry value, but the TypeLib table is not created.

Any idea why?

Thanks
Karl


http://schemas.microsoft.com/wix/2006/wi";>
  
  
  
  
  
  
  
  







  



-- 
View this message in context: 
http://n2.nabble.com/Why-isn%27t-the-TypeLib-table-is-created-tp2644034p2644034.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem installing COM components

2009-04-16 Thread Jose Enrique Bolanos
Hello,

I have a problem trying to register some COM components using WiX. Hopefully
you can help me find the correct solution

We need to create an MSI with WiX for Windows Vista and XP which, aside from
installing some files, must register:
1- a COM dll
2- a COM server (.exe),
3- and a Windows service.

These three components are built in ATL C++. So they are normally registered
like so:
1- regsvr32.exe THE_COM_DLL.dll
2- THE_COM_SERVER.exe /RegServer
3- THE_WIN_SERVICE.exe /Service

According to our research, there are a number of ways in which we can deploy
and register these components with a WiX generated MSI, all of which have
failed for us:

*1- Call the previously mentioned commands explicitly as custom actions,
setting them in the ExeCommand with a relative path to the installation
folder.*

In Vista these actions must run with elevated privileges, which is
supposedly achieved by making the action deferred and with the
no-impersonate flag set.

We have tried making the custom actions deferred and not deferred, set the
Impersonate flag to both "yes" and "no", and so on, but the custom actions
fail with code 1721 and a result value of 3.

*2- Create custom actions using the FileKey attribute and passing the
argument (e.g. "/RegServer") in the ExeCommand attribute.*

Same result, code 1721 and result value 3. Seems like the commands need to
run with elevated privileges, but as we mentioned we have marked them as
deferred and no impersonate and the result is the same.

*3- Set the SelfRegCost flag to 1 in each File tags in the WiX file for each
component.*

This only applies to the COM dll, but it does not work either. We set the
KeyPath="yes" attribute and tried some other attribute combinations but the
result is the same.

In addition, seems like self-registration is strongly discouraged by
Microsoft.
*
4- For the service, use the ServiceInstall and ServiceControl tags in WiX.*

This way we were able to register the service, but it fails to start because
of permissions.

*5- Lastly, a solution was to use tallow/heat to recreate the registry
entries.*

Neither heat nor tallow alone are able to determine all the registry entries
necessary to register the services. Supposedly it does work for the COM dll.

So we tried the following, based on a recommendation we found:
- Monitored registry modifications after each component's registration with
a tool called RegSpy2, which generates a list of registry entries, and saved
each one to a .reg file.
- Using tallow we created a WiX fragment for each component which has all
the detected registry entries.
- Using WixCop we converted the Registry tags to RegistryKey and
RegistryValue tags, because we are using WiX 3.
- Then we replaced the hardcoded paths with [INSTALLDIR], which points to
the installation folder in the target machine.

The installation runs fine with this procedure, but the components do not
work: the service does not appear in the services list, and the com objects
cannot be instantiated.


Given this scenario, which would be the correct way to register these
components using WiX 2/3?

Thanks in advance

-- 
Jose Enrique Bolaños G.
Software Developer
Glaxstar Ltd.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Rob Mensching
Isn't that the expected behavior with the Windows Installer?

Dmitry Berkovich wrote:
> Hi,
>   I have some issue with deferred CA on WTS.
> I am creating installer package :  Compressed="yes" InstallScope="perMachine" /> that execute deferred CA
> that read some data from file that stored on network drive. When
> installation is executed on Terminal Server and user that execute
> installer have admin privileges - deferred CA do not see any network
> drive. I checked with debugger that CA running with SYSTEM privileges
> instead of user privileges.
>
> I found some web page
> (http://msdn.microsoft.com/en-us/library/aa368073(VS.85).aspx ) that
> explain this issue. But I don't know how to do it with Wix,
>
> Regards,
>   Dima
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Why isn't the TypeLib table created

2009-04-16 Thread Karl Denning

I should also add that I'm using wix 3.0.4805.0



Hi

This has me stumped.
When I build my project including this fragment (below), the registry table is 
populated with the registry value, but the TypeLib table is not created.

Any idea why?

Thanks
Karl


http://schemas.microsoft.com/wix/2006/wi";>
  
  
  
  
  
  
  
  







  





-- 
View this message in context: 
http://n2.nabble.com/Why-isn%27t-the-TypeLib-table-is-created-tp2644034p2644089.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error table in merge module

2009-04-16 Thread Rob Mensching
The Merge Module spec says Merge Modules don't get an Error table.

Sudripta Nandy (Sarangsoft Corporation) wrote:
> I am trying to create a merge module. But, I am getting an error message in 
> wixca.wxs. The error code is LGHT1054 and it states that 'Merge modules 
> should not contain the Error table because all merge conflicts cannot be 
> avoided.'.
>
> How can I stop it from generating the error table or get rid of this error 
> (maybe by suppressing the error message)?
>
>
> Thanks.
> Sudripta.
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Why isn't the TypeLib table is created

2009-04-16 Thread Rob Mensching
TypeLib table is only populated for Advertised TypeLibs.  Otherwise the 
Registry table is used.  Advertising TypeLibs is generally not 
recommended so it is not the default.

Karl Denning wrote:
> Hi
>
> This has me stumped.
> When I build my project including this fragment (below), the registry table 
> is populated with the registry value, but the TypeLib table is not created.
>
> Any idea why?
>
> Thanks
> Karl
>
> 
> http://schemas.microsoft.com/wix/2006/wi";>
>   
>   
>   
>   
>   
>   
>   
>   
> 
>  Source="c:\build\bin\MyCom.exe">
>  Description="MyCom 1.0 Type Library" Language="0" MajorVersion="1" 
> MinorVersion="0" Advertise="no">
>  Id="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" Name="IMyCom" 
> ProxyStubClassId="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" 
> ProxyStubClassId32="{8050523C-5319-4c02-8058-EF8A3E06B3A4}" />
> 
> 
>  Key="TypeLib\{13EFB262-E850-4e00-90A1-4EBFC54FF2FF}\1.0\HELPDIR" 
> Value="[INSTALLDIR]" Type="string" Action="write" />
>   
> 
> 
> 
> --
> View this message in context: 
> http://n2.nabble.com/Why-isn%27t-the-TypeLib-table-is-created-tp2644034p2644034.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom icon in Add/Remove programs

2009-04-16 Thread Rob Mensching
Set the ARPPRODUCTICON Property as per the MSI SDK.

Sudripta Nandy (Sarangsoft Corporation) wrote:
> Is there a way I can set the icon for my application to be shown in the 
> 'Add/Remove Programs' under control panel?
>
>
> Thanks.
> Sudripta.
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem installing COM components

2009-04-16 Thread Christopher Painter

Personally I use InstallShield for this type of stuff.  It's pretty simple to 
create a merge module project, dump the components into it and do a COM extract 
at build.  Then just dark the resultant MSI and refactor into a fragment.

Oh, and I recently saw an MSDN email go out talking about InstallShield's free 
download eval version :-)

Regards,
Chris

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Thu, 4/16/09, Jose Enrique Bolanos  wrote:

> From: Jose Enrique Bolanos 
> Subject: [WiX-users] Problem installing COM components
> To: wix-users@lists.sourceforge.net
> Date: Thursday, April 16, 2009, 7:34 PM
> Hello,
> 
> I have a problem trying to register some COM components
> using WiX. Hopefully
> you can help me find the correct solution
> 
> We need to create an MSI with WiX for Windows Vista and XP
> which, aside from
> installing some files, must register:
> 1- a COM dll
> 2- a COM server (.exe),
> 3- and a Windows service.
> 
> These three components are built in ATL C++. So they are
> normally registered
> like so:
> 1- regsvr32.exe THE_COM_DLL.dll
> 2- THE_COM_SERVER.exe /RegServer
> 3- THE_WIN_SERVICE.exe /Service
> 
> According to our research, there are a number of ways in
> which we can deploy
> and register these components with a WiX generated MSI, all
> of which have
> failed for us:
> 
> *1- Call the previously mentioned commands explicitly as
> custom actions,
> setting them in the ExeCommand with a relative path to the
> installation
> folder.*
> 
> In Vista these actions must run with elevated privileges,
> which is
> supposedly achieved by making the action deferred and with
> the
> no-impersonate flag set.
> 
> We have tried making the custom actions deferred and not
> deferred, set the
> Impersonate flag to both "yes" and "no", and so on, but the
> custom actions
> fail with code 1721 and a result value of 3.
> 
> *2- Create custom actions using the FileKey attribute and
> passing the
> argument (e.g. "/RegServer") in the ExeCommand attribute.*
> 
> Same result, code 1721 and result value 3. Seems like the
> commands need to
> run with elevated privileges, but as we mentioned we have
> marked them as
> deferred and no impersonate and the result is the same.
> 
> *3- Set the SelfRegCost flag to 1 in each File tags in the
> WiX file for each
> component.*
> 
> This only applies to the COM dll, but it does not work
> either. We set the
> KeyPath="yes" attribute and tried some other attribute
> combinations but the
> result is the same.
> 
> In addition, seems like self-registration is strongly
> discouraged by
> Microsoft.
> *
> 4- For the service, use the ServiceInstall and
> ServiceControl tags in WiX.*
> 
> This way we were able to register the service, but it fails
> to start because
> of permissions.
> 
> *5- Lastly, a solution was to use tallow/heat to recreate
> the registry
> entries.*
> 
> Neither heat nor tallow alone are able to determine all the
> registry entries
> necessary to register the services. Supposedly it does work
> for the COM dll.
> 
> So we tried the following, based on a recommendation we
> found:
> - Monitored registry modifications after each component's
> registration with
> a tool called RegSpy2, which generates a list of registry
> entries, and saved
> each one to a .reg file.
> - Using tallow we created a WiX fragment for each component
> which has all
> the detected registry entries.
> - Using WixCop we converted the Registry tags to
> RegistryKey and
> RegistryValue tags, because we are using WiX 3.
> - Then we replaced the hardcoded paths with [INSTALLDIR],
> which points to
> the installation folder in the target machine.
> 
> The installation runs fine with this procedure, but the
> components do not
> work: the service does not appear in the services list, and
> the com objects
> cannot be instantiated.
> 
> 
> Given this scenario, which would be the correct way to
> register these
> components using WiX 2/3?
> 
> Thanks in advance
> 
> -- 
> Jose Enrique Bolaños G.
> Software Developer
> Glaxstar Ltd.
> --
> Stay on top of everything new and different, both inside
> and 
> around Java (TM) technology - register by April 22, and
> save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San
> Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


  

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francis

[WiX-users] Two problems: Not deleting files, and icon does not display.

2009-04-16 Thread Curtis Jewell
I've got two problems I need help with, and I hope somebody here can
help me with them.

I'm using WiX 3.0.5210, by the way.

First problem: When I install a (major) upgrade, it's not deleting any
files that were created in the [D_Perl] directory or subdirectories that
were not installed by the MSI.  I thought the RemoveFolder tag did just
that. What else do I need to do?

(Note that if this has to be implemented as a custom action, the custom
action has to be compilable using the MingW-gcc toolchain, instead of
using Visual Studio.  I don't know if that toolchain has the msi import
libraries yet.)

Second problem: The shortcut [C_S_CPAN_Client] is being created, but its
icon [I_cpan.bat] is not being displayed (It gets replaced by the normal
batch file icon, and when I try to change the icon, it says that there
are no icons in the applicable file.)  The icon file referred to is a
copy of the icon file [I_cpanweb.url] being used in [C_S_CPAN_Search],
which IS being displayed.  (I wanted to check and see if the problem
wasn't that I was referring to the same icon file in two different
places.) Am I doing something wrong?

Can anybody help me with either or both of these?

Applicable wxs sections are below, the full files (and all the other
files that are used) are included in
http://csjewell.comyr.com/work/fragments.zip (280,966 byte file)

Yes, it is being created by a Perl script I'm writing, this isn't
hand-written (WAY too much to be hand-written)

Main file: (Perl-Dist-WiX Test Perl.wxs)


http://schemas.microsoft.com/wix/2006/wi";>
  










  
  


  NEWERVERSIONDETECTED
  


  NEWERVERSIONDETECTED



  Privileged



  



  



  






C:\WiXPerl


  

  


  
  
  
  
  



  
  


  



  



  
  
  
  

1
1
Perl-Dist-WiX Perl Test 5.10.0
Curtis Jewell
http://csjewell.comyr.com/perl/



  


And here's the fragment that tries to remove the folder:
(PerlFolder.wxs)



  

  

  

  


And here's the fragment that provides the shortcut icons. (Icons.wxs)



  

  


  
  


  
  


  
  


  
  

  

  


--Curtis

--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and
pictures in HTML mail]
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Dmitry Berkovich
Hi,
  I don't know what is expected behavior in Windows Installer, but I
have this problem only when my Installer executed on Windows Terminal
Server by user that belongs to local Administrators group (all other
users can not execute installation, since its disabled by policy).  On
Windows XP and Windows 2003 its not happened.

I don't have a lot experience in security, but I logged
Environment.UserName inside differed CA. When it executed on WindowsXP
or Windows 2003 its same username that executed the MSI, but when
installer executed on WTS - Environment.UserName = "SYSTEM".

Thanks,
Dima

On Fri, Apr 17, 2009 at 3:50 AM, Rob Mensching  wrote:
> Isn't that the expected behavior with the Windows Installer?
>
> Dmitry Berkovich wrote:
>> Hi,
>>   I have some issue with deferred CA on WTS.
>> I am creating installer package : > Compressed="yes" InstallScope="perMachine" /> that execute deferred CA
>> that read some data from file that stored on network drive. When
>> installation is executed on Terminal Server and user that execute
>> installer have admin privileges - deferred CA do not see any network
>> drive. I checked with debugger that CA running with SYSTEM privileges
>> instead of user privileges.
>>
>> I found some web page
>> (http://msdn.microsoft.com/en-us/library/aa368073(VS.85).aspx ) that
>> explain this issue. But I don't know how to do it with Wix,
>>
>> Regards,
>>   Dima
>>
>> --
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Joe Osman
I am installing a .NET service using the ServiceInstall element and I 
want to log all the events of that service to a custom event channel.  
In Windows Server 2008 and Windows Vista an application can create a 
custom event channel under Applications and Services Logs in the event 
viewer.  I want to send the events to that custom channel.


Is there any way to do it in WIX ?



===
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
===

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create custom even channel (under Applications and ServicesLogs)

2009-04-16 Thread Brian Bakkebo
Hello Joe, I think you need to have a clarify a little bit here. I am not
quite sure what you mean by " I want to log all the events of that service
to a custom event channel."?  Wouldn't your application do this? ala
http://www.nlog-project.org/
   or are you meaning you want to log what
happens during the install of said service? Either way I think I got you
covered...
My Ref:
Event Logs and Channels in Windows Event Log
http://msdn.microsoft.com/en-us/library/aa385225(VS.85).aspx
http://wix.sourceforge.net/manual-wix2/wix_xsd_serviceinstall.htm
Example of Event loging in wix:
http://stackoverflow.com/questions/58538/how-do-you-create-an-event-log-source-using-wix

2009/4/17 Joe Osman 

> I am installing a .NET service using the ServiceInstall element and I want
> to log all the events of that service to a custom event channel.  In Windows
> Server 2008 and Windows Vista an application can create a custom event
> channel under Applications and Services Logs in the event viewer.  I want to
> send the events to that custom channel.
>
> Is there any way to do it in WIX ?
>
>
>
> ===
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
> altered or corrupted during transmission.
> ===
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IO permission problem in defered CA on Windows Terminal Server 2003

2009-04-16 Thread Rob Mensching
Yeah, that all makes sense to me. That's the way I understand the 
Windows Installer works.

Dmitry Berkovich wrote:
> Hi,
>   I don't know what is expected behavior in Windows Installer, but I
> have this problem only when my Installer executed on Windows Terminal
> Server by user that belongs to local Administrators group (all other
> users can not execute installation, since its disabled by policy).  On
> Windows XP and Windows 2003 its not happened.
>
> I don't have a lot experience in security, but I logged
> Environment.UserName inside differed CA. When it executed on WindowsXP
> or Windows 2003 its same username that executed the MSI, but when
> installer executed on WTS - Environment.UserName = "SYSTEM".
>
> Thanks,
> Dima
>
> On Fri, Apr 17, 2009 at 3:50 AM, Rob Mensching  wrote:
>   
>> Isn't that the expected behavior with the Windows Installer?
>>
>> Dmitry Berkovich wrote:
>> 
>>> Hi,
>>>   I have some issue with deferred CA on WTS.
>>> I am creating installer package : >> Compressed="yes" InstallScope="perMachine" /> that execute deferred CA
>>> that read some data from file that stored on network drive. When
>>> installation is executed on Terminal Server and user that execute
>>> installer have admin privileges - deferred CA do not see any network
>>> drive. I checked with debugger that CA running with SYSTEM privileges
>>> instead of user privileges.
>>>
>>> I found some web page
>>> (http://msdn.microsoft.com/en-us/library/aa368073(VS.85).aspx ) that
>>> explain this issue. But I don't know how to do it with Wix,
>>>
>>> Regards,
>>>   Dima
>>>
>>> --
>>> Stay on top of everything new and different, both inside and
>>> around Java (TM) technology - register by April 22, and save
>>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>>> 300 plus technical and hands-on sessions. Register today.
>>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>   
>> --
>> Stay on top of everything new and different, both inside and
>> around Java (TM) technology - register by April 22, and save
>> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>> 300 plus technical and hands-on sessions. Register today.
>> Use priority code J9JMT32. http://p.sf.net/sfu/p
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>> 
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Two problems: Not deleting files, and icon does not display.

2009-04-16 Thread Rob Mensching
1. MSI SDK says the RemoveFolders only removes a folder if it is empty.  
You need a CustomAction to recurse all of the directories and add them 
to the RemoveFolders table plus add the files to RemoveFiles table.

2.  I vaguely rememeber some tricky limitations around Shortcut Icons in 
MSI.  You might try reading about those topics in the MSI SDK.

Curtis Jewell wrote:
> I've got two problems I need help with, and I hope somebody here can
> help me with them.
>
> I'm using WiX 3.0.5210, by the way.
>
> First problem: When I install a (major) upgrade, it's not deleting any
> files that were created in the [D_Perl] directory or subdirectories that
> were not installed by the MSI.  I thought the RemoveFolder tag did just
> that. What else do I need to do?
>
> (Note that if this has to be implemented as a custom action, the custom
> action has to be compilable using the MingW-gcc toolchain, instead of
> using Visual Studio.  I don't know if that toolchain has the msi import
> libraries yet.)
>
> Second problem: The shortcut [C_S_CPAN_Client] is being created, but its
> icon [I_cpan.bat] is not being displayed (It gets replaced by the normal
> batch file icon, and when I try to change the icon, it says that there
> are no icons in the applicable file.)  The icon file referred to is a
> copy of the icon file [I_cpanweb.url] being used in [C_S_CPAN_Search],
> which IS being displayed.  (I wanted to check and see if the problem
> wasn't that I was referring to the same icon file in two different
> places.) Am I doing something wrong?
>
> Can anybody help me with either or both of these?
>
> Applicable wxs sections are below, the full files (and all the other
> files that are used) are included in
> http://csjewell.comyr.com/work/fragments.zip (280,966 byte file)
>
> Yes, it is being created by a Perl script I'm writing, this isn't
> hand-written (WAY too much to be hand-written)
>
> Main file: (Perl-Dist-WiX Test Perl.wxs)
>
> 
> http://schemas.microsoft.com/wix/2006/wi";>
>Language='1033'
> Manufacturer="Curtis Jewell"
> Name="Perl-Dist-WiX Perl Test"
> UpgradeCode="29287F64-E2D6-3E24-91B6-24461B4A6CCA"
> Version="5.10.1" >
>
>
>  Languages='1033'
>   Platform='x86' InstallerVersion='200' Compressed='yes'
>   InstallPrivileges='elevated' />
>
>
>  EmbedCab="yes" />
>
>
>Id="PreventDowngrading"
>   Error="A newer version of Perl-Dist-WiX Perl Test is already
>   installed." />
> 
>Minimum="5.10.1"
> IncludeMinimum="yes"
> OnlyDetect="yes"
> Language="1033"
> Property="NEWERVERSIONDETECTED" />
>Minimum="5.0.0"
> IncludeMinimum="yes"
> Maximum="5.10.1"
> IncludeMaximum="no"
> Language="1033"
> Property="OLDERVERSIONBEINGUPGRADED" />
> 
> 
>Action="PreventDowngrading"
> After="FindRelatedProducts">NEWERVERSIONDETECTED
>   
> 
> 
>Action="PreventDowngrading"
> After="FindRelatedProducts">NEWERVERSIONDETECTED
> 
>
> 
>   Privileged
> 
>
> 
>   
> 
>
> 
>   
> 
>
> 
>   
> 
>
> 
> 
> 
>
> C:\WiXPerl
>
> 
>   
> 
>  Name='bin' />
> 
> 
>  Name='dmake' />
>  Name='gcc' />
>  Name='mingw' />
>  Name='perl' />
>  Name='pexports' />
> 
> 
> 
>   
>   
> 
>
>   
> 
>
>  Description='The complete package.' Level='1'>
>   
> 
> 
>
>  
> SourceFile='C:\strawberry\perl\site\lib\auto\share\dist\Perl-Dist-WiX\cpan.ico'
>   />
>  
> SourceFile='C:\strawberry\perl\site\lib\auto\share\dist\Perl-Dist-WiX\cpanweb.ico'
>   />
>  
> SourceFile='C:\strawberry\perl\site\lib\auto\share\dist\Perl-Dist-WiX\perldoc.ico'
>   />
>  
> SourceFile='C:\strawberry\perl\site\lib\auto\share\dist\Perl-Dist-WiX\win32.ico'
>   />
>
> 1
> 1
> Perl-Dist-WiX Perl Test 5.10.0
> Curtis Jewell
>  Id='ARPURLINFOABOUT'>http://csjewell.comyr.com/perl/
>
>  
> Value='C:\strawberry\perl\site\lib\auto\share\dist\Perl-Dist-WiX\License.rtf'
> />
>
>   
> 
>
> And here's the fragment that tries to remove the folder:
> (PerlFolder.wxs)
>
> 
> 
>   
> 
>  Guid='F26F0747-91C7-367A-87D5-D8AFF00AC946'>
> 
>   
> 
>   
> 
>
> And here's the fragment that provides the shortcut icons. (Icons.wxs)
>
> 
> 
>   
> 
>  Guid='8C96CA50-D0BE-35D6-954C-B95F7EA03698'>
>Name='CPAN Client'
>   Description='CPAN Client'
>   Target='[D_DC5CE757_AEB8_3149_81E1_0EE55B238196]cpan.bat'
>