[WiX-users] How to change permission of an existing file and/or folder and its subfolders

2007-09-17 Thread Yongzhi Yu
Dear All:
  I am a newbie in WIX. I am using WIX 3.0.
  I have two questions to ask.
 
  1: How can I change the permission of an existing folder and all its
subfolders and files. The following code will just change the permission
on the folder only, but not its subfolder and files. Is there anything I
did wrong here?
  

  



  

 
 
 2: How can I change the permission of an existing file. The following
piece of code will not work on an existing file for some reason. First,
I will have to specify a source for this file otherwise when I compile
the WXS file, the compiler will complain the source does not exist. But
the point is, this file should already exist on the machine that runs
the installer, therefore, the file should not be copied by the installer
again (Why would the compiler need the real source file to compile?),
what if the file on the machine runs the installer was already changed,
I do not want to overwrite the existing file with the one copied by the
installer. Secondly, if I specify a source of this file (by giving it a
source point to a real file on the compiler machine), the WXS file
compiled, but when I run the installer, the permission of the file would
not change.
 

  
  



  
  

 
Please help me out with solutions on the two problem. I am dying to know
the answers. Your kind help will be very appreciated.
 
Yongzhi
Yongzhi Yu
Latitude Geographics Group Ltd.
[EMAIL PROTECTED] www.latitudegeo.com
 
Head Office: 204 Market Square Victoria, BC Canada V8W 3C6
Tel: (250) 381-8130 Fax: (250) 381-8132 

Geocortex Internet Mapping (www.geocortex.com
 ) - Helping people succeed with web-based
geography

 
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Supressing Light.exe errors

2007-09-17 Thread Danny Smith
Is there a way to suppress Light0099 errors when files are not present? I'm
working on a system where we support installing content from three build
lines (x86, x64, ia64) with a single MSI. Each build line will build the MSI
and the architecture specific cabs will be built in a separate step. 

I'm using an older version of Wix 2.0.

Thanks

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix and IIS Issue

2007-09-17 Thread Abdullah Ahmed
I  recently started using WIX to create an installer for a new product at my
company.

So far I am really loving WIX compared to other install technologies.
However one issue is completely driving me nuts. When I install my MSI on
Windows 2k3 I can no longer use the Computer Management Console  or the
Internet Information Services console. Uninstalling the product fixes that.

I initially thought it may have something to do with me using
WIXIISExtensions and creating a website in the install process, so I went
ahead and removed any references to those, but I still get the same
issuewhen trying to launch IIS I get the message..


MMC Cannot open the file C:\Windows\system32\inetsrv\iis.msc.

This may be because the file does not exist, is not an mmc console, or was
created by a later version of MMC. This may also be because you donot have
sufficient access rights to the file.



Now the file exists, I have permissions to it, and I have MMC 3.0.
Uninstalling the program using Add Remove Programs lets IIS Console work
again.

Any ideas what I may be doing wrong ?

-- 
. Abdullah Ahmed
. [EMAIL PROTECTED]
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent install won't copy in files

2007-09-17 Thread Mike Menaker
When I compare the log files Here is what I got

This is from working (GUI) install:

MSI (s) (40:D0) [14:53:28:913]: Executing op: SetSourceFolder(Folder=C:\Program 
Files\TestInstall\VMP Server\ASR\MVPASRConfig\)
MSI (s) (40:D0) [14:53:28:913]: Executing op: SetTargetFolder(Folder=C:\Program 
Files\Test\Config\)
MSI (s) (40:D0) [14:53:28:913]: Executing op: 
FileCopy(SourceName=SpeechWorks.cfg,,DestName=SpeechWorks.cfg,Attributes=0,FileSize=968,PerTick=0,IsCompressed=0,VerifyMedia=0,CheckCRC=0,,,InstallMode=262144,,,)
MSI (s) (40:D0) [14:53:28:913]: File: C:\Program 
Files\Test\Config\SpeechWorks.cfg; To be installed;Won't patch;
No existing file
MSI (s) (40:D0) [14:53:28:913]: Source for file 'SpeechWorks.cfg' is 
uncompressed, at 'C:\Program Files\TestInstall\VMP Server\ASR\MVPASRConfig\'.
MSI (s) (40:D0) [14:53:28:913]: Note: 1: 2318 2: C:\Program 
Files\Test\Config\SpeechWorks.cfg 


This part is from unattended install:

MSI (s) (40:28) [14:57:37:041]: Executing op: 
FileCopy(SourceName=SPEECH_1.CFG|SpeechWorks.cfg,SourceCabKey=SPEECHWorks_cfg,DestName=SpeechWorks.cfg,Attributes=0,FileSize=968,PerTick=32768,,VerifyMedia=1,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-1665668314,HashPart2=860919431,HashPart3=-1485459813,HashPart4=996330112,,)
MSI (s) (40:28) [14:57:37:041]: File: C:\Program Files\TestInstall\VMP 
Server\ASR\MVPASRConfig\SpeechWorks.cfg; To be installed;Won't patch;   
 No existing file
MSI (s) (40:28) [14:57:37:041]: Source for file 'SPEECHWorks_cfg' is compressed
MSI (s) (40:28) [14:57:37:041]: Note: 1: 2318 2: C:\Program 
Files\TestInstall\VMP Server\ASR\MVPASRConfig\SpeechWorks.cfg


The only differences is from some reason it doesn't put the source/target dirs 
and the unattended file is compressed.

Any help would be very appreciated.

Thanks,
Mike

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker
Sent: Monday, September 17, 2007 11:35 AM
To: Frédéric Viollet; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

I don't think I can use [ProgramFilesFolder] with DestinationDirectory

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet
Sent: Monday, September 17, 2007 12:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

Mike Menaker a écrit :
>
> Hi,
>
> I'm having a problem with a silent install.
>
> I have a component that copies 2 files and writes to the registry 
> however it isn't copying the 3 files correctly (yet writing the 
> registry correctly).
>
> This is my component.
>
>  Guid="49861A79-A034-4e15-BA38-783D2FCC4D90">
>
> 
>
>  DestinationProperty="[ProgramFilesFolder]Test\Config\" />
>
> 
>
> 
>
>  DestinationProperty="[ProgramFilesFolder]Test\Config\" />
>
> 
>
> 
> Type='string' 
> Value='[ProgramFilesFolder]Test\license_manager\license\test.lic' />
>
> 
>
> Any ideas why it isn't copying in the files correctly?
>
> Thanks,
>
> Mike
>
>   
You are using the DestinationProperty attribute in the CopyFile element. 
Try using DestinationDirectory instead.

Fred

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Devenv /setup does half of the work

2007-09-17 Thread Ian Sullivan
Are you installing into the GAC?

If so you need to run your CA during Commit.


From another list
“Commit custom actions are risky – they don’t run if rollback is disabled. The 
problem is that assemblies being installed to the GAC aren’t committed there 
until the install transaction is being committed during InstallFinalize, so 
‘devenv /setup’ before then will fail to find the packages.

Unfortunately, by the time the assemblies are in the GAC, there’s no way to run 
‘devenv /setup’ with elevated privileges. So commit CAs are risky but about 
your only choice.”

-Ian


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Xin Liu (Intl 
Vendor)
Sent: Monday, September 17, 2007 3:33 AM
To: Schrieken, Rene; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Devenv /setup does half of the work

As you see it’s a deferred custom action which must be scheduled between 
InstallInitialize and InstallFinialize.

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: Schrieken, Rene [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 5:59 PM
To: Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Ok, are you sure it is executed at the correct moment? Would it hurt to try to 
schedule it after InstallFinalize?


From: Xin Liu (Intl Vendor) [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 5:26 AM
To: Schrieken, Rene; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Thanks, Rene. I have tried “//setup” but VisualStudio complained that it is an 
invalid option.

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: Schrieken, Rene [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 6:59 PM
To: Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Did you try ExeCommand="//setup" ?

Rene


From: [EMAIL PROTECTED] on behalf of Xin Liu (Intl Vendor)
Sent: Fri 9/14/2007 11:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Devenv /setup does half of the work
At the end of our installation, an deferred custom action is invoked to 
register our VSTS package as well as the CTC menu:



...



The installation succeeds and our package is registered to Visual Studio 
(custom action return value is 1).
The problem is that the context menu doesn’t shown in the VSTS project 
supported by our package just intalled. Manually running “devenv /setup” solves 
the problem.
Something strange is that “devenv /setup” actually does everything other than 
the context menu registration --- all the other functionalities provided by our 
package works well in VS.

Does anyone have this problem before?

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher 
Painter
Sent: Friday, September 07, 2007 11:53 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

This is why I've been asking Justin about using votive v3 to build wix v2 
projects.  It's a hybrid solution but it seems to work.The risk is minimal 
since the points that could fail are at build time, not install time.

PS- IS is pretty easy to build with TFS once you learn how it works.  I have 
dozens of installers that I use TFS to build with nothing but .NET 2.0, 
TeamBuild and IS StandAloneBuild installed.You just have to understand how 
to map product configurations / releases to your solution config.   If you 
would like, I can send you a sample project.

http://blog.deploymentengineering.com/2007/05/tip-parallel-is122008-builds-using-tfs.html

[EMAIL PROTECTED] wrote:
Had a look at the files and I've finally got my head round this.

As i understand it WiX v2 .wixproj files, which are used for VS
integration, aren't MSBuild files. You have to create your own .wproj files
for that. Which means that WiX v2 isn't compatible withTeam Build (as it
tries to build the .wixproj file).

It'd be really cool if v2 did support Team Build and it's solution centric
build process. Without it we can't really consider using WiX v2 or v3 (as
it's not stable yet).

Which leads me to my next question, is there a rough time line for the
switch to v3?

Oh and in case it makes you feel better Justin I've been messing around
with IS for two days and 2 hotfixes later i still can't get it to build
with MS or Team! :-)

Matt


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



"Justin Rockwood"

ford.edu> To
Sent by: ,
wix-users-bounces
@lists.sourceforg cc
e.net
Subject
Re: [WiX-users] Using WiX v3 Votive
07/09/2007 02:22 to build

[WiX-users] SqlExtension Rollback

2007-09-17 Thread Ben Greenberg
After a SqlScript element is successfully executed, will it be rollbacked if 
the installer fails after that point?  

I see that a RollbackExecuteSqlStrings CA is created.  If it does rollback, how 
is this accomplished at the SQL Server level?

Thanks,
Ben


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent install won't copy in files

2007-09-17 Thread Mike Menaker
I don't think I can use [ProgramFilesFolder] with DestinationDirectory

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet
Sent: Monday, September 17, 2007 12:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

Mike Menaker a écrit :
>
> Hi,
>
> I'm having a problem with a silent install.
>
> I have a component that copies 2 files and writes to the registry 
> however it isn't copying the 3 files correctly (yet writing the 
> registry correctly).
>
> This is my component.
>
>  Guid="49861A79-A034-4e15-BA38-783D2FCC4D90">
>
> 
>
>  DestinationProperty="[ProgramFilesFolder]Test\Config\" />
>
> 
>
> 
>
>  DestinationProperty="[ProgramFilesFolder]Test\Config\" />
>
> 
>
> 
> Type='string' 
> Value='[ProgramFilesFolder]Test\license_manager\license\test.lic' />
>
> 
>
> Any ideas why it isn't copying in the files correctly?
>
> Thanks,
>
> Mike
>
>   
You are using the DestinationProperty attribute in the CopyFile element. 
Try using DestinationDirectory instead.

Fred

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix3 and , problems with light.exe?

2007-09-17 Thread Friedrich Brunzema
Hi,

I'm still having problems trying to use  to patch a config 
file,the main problem seems to be that light fails with an error message. The 
output I get is a weird 'FileShare' collision error - the full source can be 
found at the bottom of this message.  I'm using Wix3 version 3.0.2925.0.\

Does anyone know what I am doing wrong here?

Friedrich

- Starting C:\sandbox\vela\common\tools\Wix3\candle.exe -nologo 
"C:\temp\Test.wxs" 
  -out "C:\temp\Test.wixobj"  -ext WixutilExtension  at 9/17/2007 12:22:02 PM

Test.wxs

Done in: 343 ms

- Starting C:\sandbox\vela\common\tools\Wix3\light.exe "Test.wixobj" -out 
"Test.msi"  
-ext WixutilExtension  
-ext C:\sandbox\Vela\Common\Tools\Wix3\WixUtilExtension.dll 
at 9/17/2007 12:22:02 PM

Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.

light.exe : error LGHT0126 : The extension 
'Microsoft.Tools.WindowsInstallerXml.Extensions.UtilExtension' 
contains a defintion for table 'FileShare' that collides with a 
previously loaded table definition.  Please remove one of the 
conflicting extensions or rename one of the tables to avoid the collision.

- Finished

Error in light

-Wix file follows 




 xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"; >
  



  

  
 
  

  


  


  





  Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Add/Remove Programs Name

2007-09-17 Thread Rob Mensching
[adding wix-users back]

True.  I'd do something like this:



Then let the preprocessor take care of replacing the version everywhere.

-Original Message-
From: Chris [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 09:36
To: Rob Mensching
Subject: RE: [WiX-users] Add/Remove Programs Name




Then I have to update the ProductVersion in multiple places when I do a 
release..  I'd rather avoid this.



Moreso, how can I do something like the following:



 ..  
When I do that now, I get the literal [ProductVersion] as opposed to the 
version number..



Thanks for the help -Chris





 --- On Mon 09/17, Rob Mensching < [EMAIL PROTECTED] > wrote:

From: Rob Mensching [mailto: [EMAIL PROTECTED]

To: [EMAIL PROTECTED], wix-users@lists.sourceforge.net

Date: Mon, 17 Sep 2007 08:54:41 -0700

Subject: RE: [WiX-users] Add/Remove Programs Name



Add the version to the ProductName.-Original Message-From: [EMAIL 
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ChrisSent: Monday, September 
17, 2007 08:43To: [EMAIL PROTECTED]: [WiX-users] Add/Remove Programs NameHow do 
I make it so the name for my product shows up as [ProductName] [ProductVersion] 
in Add/Remove programs?  Currently, it only shows 
[ProductName].ThanksChris___No 
banners. No pop-ups. No kidding.Make My Way  your home on the Web - 
http://www.myway.com-This
 SF.net email is sponsored by: MicrosoftDefy all challenges. Microsoft(R) 
Visual Studio 
2005.http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___WiX-users
 mailing [EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/wix-users

___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem getting wxs file to work under WiX 3.0

2007-09-17 Thread Rob Mensching
Your hitting ICE errors.  If you run validation against your WiX v2 output you 
would find you'd have the same errors in your old packages.  WiX v3 is just 
trying to be more helpful by running validation automatically.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Debbie Highgate
Sent: Saturday, September 15, 2007 11:26
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem getting wxs file to work under WiX 3.0

Hi,

I have a file that I've modified from a (working) WiX 2.0 file. light.exe 
complains about ProgramMenuMyApplicationFolder being in the user profile, but 
not being in the RemoveFile table. I added a  tag in the 
appropriate place, but this then got me an error about not having a registry 
key.

Can anyone tell me what I need to add, where and why to get this thing working? 
I'd like to use WiX for my installer, but I'm stumped.

The full content of my install file is listed below. If you want to compile it, 
add MyApplication.exe and MyApplication.ico files in the same directory as the 
wxs file.

Thanks,

Debbie


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




VersionNT >= 500






































http://www.mycompany.com/myapplication/
+1 (555)555-
MyCompany
http://www.mycompany.com/myapplication/
http://www.mycompany.com/myapplication/






Looking for a deal? Find great prices on flights and 
hotels
 with Yahoo! FareChase.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Id column size?

2007-09-17 Thread Rob Mensching
Yes, 72.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kaveh Goudarzi
Sent: Monday, September 17, 2007 05:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Id column size?

Hi All,

What is the max column size of the "Id" e.g. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] telling WiX to get files from Team Foundation Server

2007-09-17 Thread Rob Mensching
Richard, my old blog has the entry you're thinking of:  
http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, September 13, 2007 05:15
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] telling WiX to get files from Team Foundation Server

Peter,

If Heat is exiting with an ArgumentNullException it seems likely that you have 
caught a bug. I suggest making sure it is added to the tracker (at 
http://sourceforge.net/tracker/?atid=642714&group_id=105970&func=browse - I 
haven't checked to see if there is one entered already).

WiX is really not good (at least not yet) in scenarios where there are large 
numbers of arbitrarily changing files. This is an intentional design decision 
due to the Microsoft Installer component rules, and the difficulties associated 
with creating component definitions which are easy to service (apply patches 
to, etc). IGNORE THE COMPONENT RULES AT YOUR OWN RISK! I thought Rob's blog 
(http://robmensching.com/blog/) had quite a lot of details behind this 
decision, and some examples of what could get messed up if the component rules 
are ignored but it appears I was wrong. Having said that, you may want to read 
http://robmensching.com/blog/archive/2007/03/09/Windows-Installer-identifiers-must-be-stable.aspx,
 and the pages it links to.

The best mechanism, but as you have observed not an automated one, is to 
educate your developers so they know that when they add a file to the solution 
they also need to add a reference to the WiX source if the file needs to be 
deployed. Sadly, in many (if not most) large team environments developers don't 
concern themselves with setup.

Sorry I can't help with your immediate problem.
Regards,
Richard


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, September 13, 2007 6:49 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] telling WiX to get files from Team Foundation Server

Hi WiX-Team,
I am new to WiX and testing it for about a week, because we need to customize 
the standard Setup of Visual Studio for our webapplication. The problem is that 
we got a pretty big webapplication (about 3000 files and 200 folders to deploy) 
and we are using VS 2005 with Team Foundation Server. So here is the problem 
concerning WiX, I was not able to find any solution in WiX to told it to get 
every File of the Repository folder (especially new checked-in files), the only 
thing I found was to write to the wxs the folderstructure and then adding the 
files, but it is really time consuming to do this and its not really an 
autobuild. Also heat was not able to create a wxs file for me because it does 
always exit with a System.ArgumentNullException. If I decompile the setup of 
Visual Studio with dark it creates me a 2MB wxs file with no real structure at 
all. So is there a possibility to solve this case, or perhaps is there some 
kind of workaround or other technology that could help me out, because I do not 
find a post in the mailing list concerning this problem (or perhaps I was only 
not able to find it)

Regards,
Peter Huster
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Add/Remove Programs Name

2007-09-17 Thread Rob Mensching
Add the version to the ProductName.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris
Sent: Monday, September 17, 2007 08:43
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Add/Remove Programs Name








How do I make it so the name for my product shows up as [ProductName] 
[ProductVersion] in Add/Remove programs?  Currently, it only shows 
[ProductName].



Thanks

Chris

___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Add/Remove Programs Name

2007-09-17 Thread Chris







How do I make it so the name for my product shows up as [ProductName] 
[ProductVersion] in Add/Remove programs?  Currently, it only shows 
[ProductName].  



Thanks

Chris

___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Devenv /setup does half of the work

2007-09-17 Thread michael he
the CTO is part of the resource in the UI dll. Maybe the reason is that when
devenv /setup is running, the UI dll is not there.

Why this must be a deferred custom action? We use the 'regular' custom
action to run devenv /setup when installing a VSIP package.

Michael

On 9/17/07, Schrieken, Rene <[EMAIL PROTECTED]> wrote:
>
>  Ok, are you sure that all files needed for the devenv /setup to run
> correctly are available? Is it a possibility that the CTO files are
> copied/moved/generated after the custom action has run? That would explain
> that running devenv /setup after the setup has finished does work…
>
>
>  --
>
> *From:* Xin Liu (Intl Vendor) [mailto:[EMAIL PROTECTED]
> *Sent:* Monday, September 17, 2007 12:33 PM
> *To:* Schrieken, Rene; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] Devenv /setup does half of the work
>
>
>
> As you see it's a deferred custom action which must be scheduled between
> InstallInitialize and InstallFinialize.
>
>
>
> Thanks,
>
> Xin Liu
>
> Alias: v-liux
>
> Group: Protocol Tools &Test Team
>
> Occupation: Build Engineer
>
> Seat: No. 2186 Sigma Plaza, Beijing
>
>
>
> *From:* Schrieken, Rene [mailto:[EMAIL PROTECTED]
> *Sent:* Monday, September 17, 2007 5:59 PM
> *To:* Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] Devenv /setup does half of the work
>
>
>
> Ok, are you sure it is executed at the correct moment? Would it hurt to
> try to schedule it after InstallFinalize?
>
>
>  --
>
> *From:* Xin Liu (Intl Vendor) [mailto:[EMAIL PROTECTED]
> *Sent:* Monday, September 17, 2007 5:26 AM
> *To:* Schrieken, Rene; wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] Devenv /setup does half of the work
>
>
>
> Thanks, Rene. I have tried "//setup" but VisualStudio complained that it
> is an invalid option.
>
>
>
> Thanks,
>
> Xin Liu
>
> Alias: v-liux
>
> Group: Protocol Tools &Test Team
>
> Occupation: Build Engineer
>
> Seat: No. 2186 Sigma Plaza, Beijing
>
>
>
> *From:* Schrieken, Rene [mailto:[EMAIL PROTECTED]
> *Sent:* Friday, September 14, 2007 6:59 PM
> *To:* Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
> *Subject:* RE: [WiX-users] Devenv /setup does half of the work
>
>
>
> Did you try ExeCommand="//setup" ?
>
>
>
> Rene
>
>
>  --
>
> *From:* [EMAIL PROTECTED] on behalf of Xin Liu (Intl
> Vendor)
> *Sent:* Fri 9/14/2007 11:18
> *To:* wix-users@lists.sourceforge.net
> *Subject:* [WiX-users] Devenv /setup does half of the work
>
> At the end of our installation, an deferred custom action is invoked to
> register our VSTS package as well as the CTC menu:
>
>
>
> 
>
> 
>
> ...
>
> 
>
>  ExeCommand="/setup" Execute="deferred" Return="check" Impersonate="no" />
>
>
>
> The installation succeeds and our package is registered to Visual Studio
> (custom action return value is 1).
>
> The problem is that the context menu doesn't shown in the VSTS project
> supported by our package just intalled. Manually running "devenv /setup"
> solves the problem.
>
> Something strange is that "devenv /setup" actually does everything other
> than the context menu registration --- all the other functionalities
> provided by our package works well in VS.
>
>
>
> Does anyone have this problem before?
>
>
>
> Thanks,
>
> Xin Liu
>
> Alias: v-liux
>
> Group: Protocol Tools &Test Team
>
> Occupation: Build Engineer
>
> Seat: No. 2186 Sigma Plaza, Beijing
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Christopher
> Painter
> *Sent:* Friday, September 07, 2007 11:53 PM
> *To:* wix-users@lists.sourceforge.net
> *Subject:* Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects
>
>
>
> This is why I've been asking Justin about using votive v3 to build wix v2
> projects.  It's a hybrid solution but it seems to work.The risk is
> minimal since the points that could fail are at build time, not install
> time.
>
>
>
> PS- IS is pretty easy to build with TFS once you learn how it works.  I
> have dozens of installers that I use TFS to build with nothing but .NET
> 2.0, TeamBuild and IS StandAloneBuild installed.You just have to
> understand how to map product configurations / releases to your solution
> config.   If you would like, I can send you a sample project.
>
>
>
>
> http://blog.deploymentengineering.com/2007/05/tip-parallel-is122008-builds-using-tfs.html
>
> [EMAIL PROTECTED] wrote:
>
> Had a look at the files and I've finally got my head round this.
>
> As i understand it WiX v2 .wixproj files, which are used for VS
> integration, aren't MSBuild files. You have to create your own .wproj
> files
> for that. Which means that WiX v2 isn't compatible withTeam Build (as it
> tries to build the .wixproj file).
>
> It'd be really cool if v2 did support Team Build and it's solution centric
> build process. Without it we can't really consider using WiX v2 or v3 (as
> it's not stable yet).
>
> Which

Re: [WiX-users] telling WiX to get files from Team Foundation Server

2007-09-17 Thread [EMAIL PROTECTED]
@all interested to this post,

 

After a little bit work with it I actually found out that this works. If you 
create an msm via VS2005 and reference it in your WiX project it will work with 
a little trick. First You need the Id of the module, which you can gain from VS 
but if you just add the mergemodule, the package seems to be installed to a 
subdirectory of /dev/null . After I added a component with a file in it to the 
directory which contains the mergemodul as well as I added this component to 
the feature with the mergemodul it installed to 
[TARGETDIR]\”inVSspecifiedfolder”. If you want to change the specified folder 
(especially if you use these msm’s in other VS setups  with the “Module 
Retargetable Folder” thing) you just look through the logfile or the decompiled 
wxs of dark and search for the id of the Directory. You will also see that VS 
add a custom action to set the folder and this action is triggered 
Before="CostInitialize" so you can write your own CA in your wix project, 
specify the folder and trigger the event after CostInitialize… although I think 
it’s not the best way and there is certainly a better way because I don’t know 
what will happen if the hard drive is full etc. But this works for now :-)

Thanks Richard!

Regards, Peter



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 3:15 PM
To: [EMAIL PROTECTED]
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server

 

Peter,

 

That sounds like it might just work….

 

I suspect you should also find that the directory may not be as much trouble as 
you think. Remember that your  element (as opposed to any  
used to tie the contents of the merge module to a feature) will typically be 
placed inside a  anyway… and you have complete control over where 
the  element gets placed.

 

Hope it works for you! If it does, please report back here, as I am sure others 
would be interested too! :-)

 

Regards,

Richard

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 14, 2007 9:02 AM
To: Foster, Richard - PAL
Subject: RE: [WiX-users] telling WiX to get files from Team Foundation Server

 

Hi Richard,

After having a pretty good lunch I got an idea, but I dont know if WiX could 
possible do the trick. So I can let do Visual Studio do the merge modules and 
instead of creating a msi by Visual Studio I reference these msm files in a 
wxs. I was not able to try it yet, but I think there will be a problem with the 
directories I think (because at the wixtutorial the directories where specified 
in the merge modules as well as in the msi file)… but could that be some kind 
of workaround?

 

Regards,

Peter




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

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA running an executable from a registry string

2007-09-17 Thread Duncan Bayne
> Well, the log mentions UninstallOldXYZ but the .wxs file has
> UninstallOldBPM as the name of the action.  Make sure any old versions
> of the msi have been uninstalled and that the one you are running is the
> correct one.

Sorry, that should have been UninstallOldXYZ in all cases.  The latter
was the result of a borked search & replace rather than post code I'm
developing for a third-party.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA running an executable from a registry string

2007-09-17 Thread Brian Simoneau
Well, the log mentions UninstallOldXYZ but the .wxs file has
UninstallOldBPM as the name of the action.  Make sure any old versions
of the msi have been uninstalled and that the one you are running is the
correct one.

-Brian Simoneau

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Duncan
Bayne
Sent: Monday, September 17, 2007 6:37 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CA running an executable from a registry string

Hi All,

I am trying to get my MSI to uninstall an existing application during
installation; the executable and command line for that are stored in
registry:

 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\
XYZ_5.0]
"UninstallString"="\"C:\\Windows\\XYZ\\uninstall.exe\"
\"/U:C:\\Program  Files\\XYZ\\irunin.xml\""

I search for it like this in the .wxs file:





... and then I use it like this:







However when I actually run it I get the following:


Action ended 20:13:53: InstallFinalize. Return value 1.
MSI (s) (E8:84) [20:13:53:948]: Doing action: UninstallOldXYZ
Action 20:13:53: UninstallOldXYZ.
Action start 20:13:53: UninstallOldXYZ.
MSI (s) (E8:84) [20:13:53:950]: Note: 1: 2721 2: UninstallOldXYZ
DEBUG: Error 2721:  Custom action UninstallOldXYZ not found in
Binary table stream
The installer has encountered an unexpected error installing
this package. This may indicate a problem with this package. The error
code is 2721. The arguments are: UninstallOldXYZ, ,
MSI (s) (E8:84) [20:13:55:393]: Product: XYZ -- The installer
has encountered an unexpected error installing this package. This may
indicate a problem with this package. The error code is 2721. The
arguments are: UninstallOldXYZ, ,
Action ended 20:13:55: UninstallOldXYZ. Return value 3.
Action ended 20:13:55: INSTALL. Return value 3.

...

So I think I'm missing something that should be obvious.  I don't
actually want to run a binary in the MSI - I effectively just want to
run a command-line.  Is there a recommended way of doing this?  I had
a look at the docs for CustomAction but didn't see anything obvious.

TIA for any help.

Yours,
Duncan Bayne


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Id column size?

2007-09-17 Thread Kaveh Goudarzi
Hi All,

What is the max column size of the "Id" e.g. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem getting wxs file to work under WiX 3.0

2007-09-17 Thread Dominik Guder


Debbie Highgate wrote:
> 
> Hi,
> 
> I have a file that I've modified from a (working) WiX 2.0 file. light.exe
> complains about ProgramMenuMyApplicationFolder being in the user profile,
> but not being in the RemoveFile table. I added a  tag in
> the appropriate place, but this then got me an error about not having a
> registry key.
> 

Hi, 

There where some breaking changes in schema see 
http://blogs.msdn.com/derekc/archive/2006/02/13/531510.aspx
You might use WixCop to move your 2.0 file to 3.0 and check the differences
to your solution.
http://www.wixwiki.com/index.php?title=WixCop

hth Dominik

-- 
View this message in context: 
http://www.nabble.com/Problem-getting-wxs-file-to-work-under-WiX-3.0-tf4448506.html#a12733486
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CA running an executable from a registry string

2007-09-17 Thread Duncan Bayne
Hi All,

I am trying to get my MSI to uninstall an existing application during
installation; the executable and command line for that are stored in
registry:


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XYZ_5.0]
"UninstallString"="\"C:\\Windows\\XYZ\\uninstall.exe\"
\"/U:C:\\Program  Files\\XYZ\\irunin.xml\""

I search for it like this in the .wxs file:





... and then I use it like this:







However when I actually run it I get the following:


Action ended 20:13:53: InstallFinalize. Return value 1.
MSI (s) (E8:84) [20:13:53:948]: Doing action: UninstallOldXYZ
Action 20:13:53: UninstallOldXYZ.
Action start 20:13:53: UninstallOldXYZ.
MSI (s) (E8:84) [20:13:53:950]: Note: 1: 2721 2: UninstallOldXYZ
DEBUG: Error 2721:  Custom action UninstallOldXYZ not found in
Binary table stream
The installer has encountered an unexpected error installing
this package. This may indicate a problem with this package. The error
code is 2721. The arguments are: UninstallOldXYZ, ,
MSI (s) (E8:84) [20:13:55:393]: Product: XYZ -- The installer
has encountered an unexpected error installing this package. This may
indicate a problem with this package. The error code is 2721. The
arguments are: UninstallOldXYZ, ,
Action ended 20:13:55: UninstallOldXYZ. Return value 3.
Action ended 20:13:55: INSTALL. Return value 3.

...

So I think I'm missing something that should be obvious.  I don't
actually want to run a binary in the MSI - I effectively just want to
run a command-line.  Is there a recommended way of doing this?  I had
a look at the docs for CustomAction but didn't see anything obvious.

TIA for any help.

Yours,
Duncan Bayne

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Devenv /setup does half of the work

2007-09-17 Thread Xin Liu (Intl Vendor)
As you see it’s a deferred custom action which must be scheduled between 
InstallInitialize and InstallFinialize.

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: Schrieken, Rene [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 5:59 PM
To: Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Ok, are you sure it is executed at the correct moment? Would it hurt to try to 
schedule it after InstallFinalize?


From: Xin Liu (Intl Vendor) [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 5:26 AM
To: Schrieken, Rene; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Thanks, Rene. I have tried “//setup” but VisualStudio complained that it is an 
invalid option.

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: Schrieken, Rene [mailto:[EMAIL PROTECTED]
Sent: Friday, September 14, 2007 6:59 PM
To: Xin Liu (Intl Vendor); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Devenv /setup does half of the work

Did you try ExeCommand="//setup" ?

Rene


From: [EMAIL PROTECTED] on behalf of Xin Liu (Intl Vendor)
Sent: Fri 9/14/2007 11:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Devenv /setup does half of the work
At the end of our installation, an deferred custom action is invoked to 
register our VSTS package as well as the CTC menu:



...



The installation succeeds and our package is registered to Visual Studio 
(custom action return value is 1).
The problem is that the context menu doesn’t shown in the VSTS project 
supported by our package just intalled. Manually running “devenv /setup” solves 
the problem.
Something strange is that “devenv /setup” actually does everything other than 
the context menu registration --- all the other functionalities provided by our 
package works well in VS.

Does anyone have this problem before?

Thanks,
Xin Liu
Alias: v-liux
Group: Protocol Tools &Test Team
Occupation: Build Engineer
Seat: No. 2186 Sigma Plaza, Beijing

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher 
Painter
Sent: Friday, September 07, 2007 11:53 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Using WiX v3 Votive to build WiX v2 projects

This is why I've been asking Justin about using votive v3 to build wix v2 
projects.  It's a hybrid solution but it seems to work.The risk is minimal 
since the points that could fail are at build time, not install time.

PS- IS is pretty easy to build with TFS once you learn how it works.  I have 
dozens of installers that I use TFS to build with nothing but .NET 2.0, 
TeamBuild and IS StandAloneBuild installed.You just have to understand how 
to map product configurations / releases to your solution config.   If you 
would like, I can send you a sample project.

http://blog.deploymentengineering.com/2007/05/tip-parallel-is122008-builds-using-tfs.html

[EMAIL PROTECTED] wrote:
Had a look at the files and I've finally got my head round this.

As i understand it WiX v2 .wixproj files, which are used for VS
integration, aren't MSBuild files. You have to create your own .wproj files
for that. Which means that WiX v2 isn't compatible withTeam Build (as it
tries to build the .wixproj file).

It'd be really cool if v2 did support Team Build and it's solution centric
build process. Without it we can't really consider using WiX v2 or v3 (as
it's not stable yet).

Which leads me to my next question, is there a rough time line for the
switch to v3?

Oh and in case it makes you feel better Justin I've been messing around
with IS for two days and 2 hotfixes later i still can't get it to build
with MS or Team! :-)

Matt


Matt Thompson
PERSHING
Tel: 020 7864 8000
Email: [EMAIL PROTECTED]



"Justin Rockwood"

ford.edu> To
Sent by: ,
wix-users-bounces
@lists.sourceforg cc
e.net
Subject
Re: [WiX-users] Using WiX v3 Votive
07/09/2007 02:22 to build WiX v2 projects










To get back to your original question where you're setting $(WixToolPath)
to point to the 2.0 versions… That should work fine unless you try to pass
in arguments that only the 3.0 versions support. I don't remember off the
top of my head what those new properties are, but you'd probably learn
pretty quickly when you get build errors. The WiX project property pages
within Visual Studio are targeted for the 3.0 versions and not all of the
various checkboxes and other settings will work when using the 2.0
candle/light/lit.

There are no plans to touch Votive v2 in any way and all active development
is being done against Votive v3. You could log a feature request, if you
wanted, to add the ability in Votive v3 to target a v2 candle/light/lit. To
be honest it probably won't happen (at le

[WiX-users] Shellexecute customaction equivalent in WiX 2.0

2007-09-17 Thread Anidil

How can i include the product registration check box in the final UI doalog
while using WiX 2.0 to launch product website like we do using the shell
execute custom action in WiX 3.0??? i.e without customizing the UI
dialog...please help
-- 
View this message in context: 
http://www.nabble.com/Shellexecute-customaction-equivalent-in-WiX-2.0-tf4465472.html#a12732270
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] automatc dir / component fragment generation

2007-09-17 Thread Mailinglist
Hi Kaveh,

I nearly had the same problem, but didn't try tallow at all. In our Solution, 
we simply use a vbscript, that runs as Votive-PreBuildEvent and harvests our 
Webproject. Output is a .wxi file, that is simply included while creation of 
setup.

I'll post the code here, maybe its usefull for you.

Oliver

[code]
ExcludeExtensions = Array(".cs", ".csProj", ".csproj.vspscc", ".csproj.user")
ExcludeFolders = Array("obj", "Properties")

indent = 1

' setting needed objects
Set WshShell = CreateObject("Wscript.shell")
Set fso = CreateObject("Scripting.FileSystemObject")

call HarvestWebFiles()

WScript.Quit
'

private sub HarvestWebFiles()
dim FilesInclude

Set FilesInclude = fso.CreateTextFile("Files.wxi",True)
FilesInclude.WriteLine("")
FilesInclude.WriteLine("http://schemas.microsoft.com/wix/2006/wi"; & Chr(34) & " xmlns:iis=" & Chr(34) 
& "http://schemas.microsoft.com/wix/IIsExtension"; & Chr(34) & " >")

set Folder = fso.GetFolder("YOURTARGETFOLDER")

call HarvestFolder(FilesInclude, Folder)

FilesInclude.WriteLine("")
FilesInclude.Close
end sub

private sub HarvestFolder(FilesInclude, Folder)

for each subfolder in Folder.SubFolders
FilesInclude.WriteLine(string(indent,vbtab) & "")
indent = indent + 1
if not (IsExcludedFolder(subFolder.Name)) then
call HarvestFolder(FilesInclude, subFolder)
end if
indent = indent - 1
Filesinclude.WriteLine(string(indent,vbtab) & "")
next

if(Folder.Files.Count > 0) then

FilesInclude.WriteLine(string(indent,vbtab) & "")
indent = indent + 1
for each file in Folder.Files
if not (IsExcludedFile(file.Name)) then
fileId = NewId
FilesInclude.WriteLine(string(indent,vbtab) & 
"")
FilesInclude.WriteLine(string(indent,vbtab) & 
"")
end if
next
indent = indent - 1
FilesInclude.WriteLine(string(indent,vbtab) & "")

end if

end sub

private function NewGuid()
Set TypeLib = CreateObject("Scriptlet.TypeLib")
NewGuid = mid(TypeLib.Guid, 2, len(TypeLib.Guid)-4)
Set TypeLib = nothing
end function

private function NewId()
Set TypeLib = CreateObject("Scriptlet.TypeLib")
NewId = "_" & Replace(mid(TypeLib.Guid, 2, 8),"-","_")
Set TypeLib = nothing
end function

private function IsExcludedFile(FileName)
IsExcludedFile = false
for each e in ExcludeExtensions
if (Right(FileName,len(e)) = e) then
WScript.Echo ("File is excluded: " & FileName)
IsExcludedFile = true
exit for
end if
next
end function

private function IsExcludedFolder(FolderName)
IsExcludedFolder = false
for each f in ExcludeFolders
if (InStr(FolderName,f) > 0) then
WScript.Echo ("Folder is excluded: " & FolderName)
IsExcludedFolder = true
exit for
end if
next
end function
[/code]

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] automatc dir / component fragment generation

2007-09-17 Thread Kaveh Goudarzi
Hi All,

I'm working on a project to try to automate the generation of the 
installers for a project as much as possible.  I tried to use tallow 
to generate the component fragments for the file assets which need to 
go in to the installer but its missing GUID's and hard codes the root dir.

I'm in the process of writing an ant task to do this for me however I 
would really appreciate advice on the pitfalls if any of automating this.

My plan is to create a component per directory (as with tallow -d 
option) but automatically generate and substitute the GUID's needed.


-- 
Dr. Kaveh Goudarzi
www: http://www.arkasoft.comEMail: [EMAIL PROTECTED]
UK | Tel: +44-(0)20-8348-4704   Mob  : +44-(0)7989-57-4849
US | Tel: +1-(408)-884-3936 Cell : +1-(408)-580-4812

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem getting wxs file to work under WiX 3.0

2007-09-17 Thread János Brezniczky
I don't know if it helps, but you could try specifying a Name property for
the program menu folder. I'm not familiar with WiX 3.x, but it worths a try.

2007/9/15, Debbie Highgate <[EMAIL PROTECTED]>:
>
> Hi,
>
> I have a file that I've modified from a (working) WiX 2.0 file. 
> light.execomplains about ProgramMenuMyApplicationFolder being in the user 
> profile,
> but not being in the RemoveFile table. I added a  tag in the
> appropriate place, but this then got me an error about not having a registry
> key.
>
> Can anyone tell me what I need to add, where and why to get this thing
> working? I'd like to use WiX for my installer, but I'm stumped.
>
> The full content of my install file is listed below. If you want to
> compile it, add MyApplication.exe and MyApplication.ico files in the same
> directory as the wxs file.
>
> Thanks,
>
> Debbie
>
> 
> http://schemas.microsoft.com/wix/2006/wi";>
>  Name="MyApplication" Version="2.0.0" Manufacturer="MyCompany"
> UpgradeCode="{12F4AFDB-386F-4DF0-B711-3320311F4B49}" Language="1031"
> Codepage="1252">
>
>  Manufacturer="MyCompany" Comments="MyApplication is a trademark of
> MyCompany" Keywords="Installer" InstallerVersion="100" Compressed="yes"
> Languages="1031" SummaryCodepage="1252"/>
>
> VersionNT >= 500
> 
>
>  DiskPrompt="CD"/>
> 
>
> 
> 
> 
> 
>
>  Guid="{717DF426-13B6-412D-A99F-DA9ABCA883A0}">
> 
>  Directory="ProgramMenuMyApplicationFolder" Name="MyApplication" Icon="
> MyApplication.ico" IconIndex="0" Advertise="yes"
> WorkingDirectory="INSTALLDIR"/>
>  Directory="DesktopFolder" Name="MyApplication" Icon="MyApplication.ico"
> IconIndex="0" Advertise="yes" WorkingDirectory="INSTALLDIR"/>
> 
> 
>
> 
> 
> 
>
> 
>  Name="MyCompany's MyApplication"/>
> 
>
> 
> 
>
> 
> 
> 
>
> 
> 
> 
>
> 
>
> http://www.mycompany.com/myapplication/
> 
> +1 (555)555-
> MyCompany
> 
> http://www.mycompany.com/myapplication/
> 
> http://www.mycompany.com/myapplication/
> 
> 
>
> --
> Looking for a deal? Find great prices on flights and 
> hotelswith
>  Yahoo! FareChase.
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How Dialogs are invoked !!!

2007-09-17 Thread V K Gangwar
Hello,

Can somebody tell me (or suggest some URL) that how Dialogs are interfaced with 
errors in WIX.

Regards,
Veerendra


   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. -
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent install won't copy in files

2007-09-17 Thread Frédéric Viollet

Mike Menaker a écrit :


Hi,

I’m having a problem with a silent install.

I have a component that copies 2 files and writes to the registry 
however it isn’t copying the 3 files correctly (yet writing the 
registry correctly).


This is my component.

Guid="49861A79-A034-4e15-BA38-783D2FCC4D90">




DestinationProperty="[ProgramFilesFolder]Test\Config\" />






DestinationProperty="[ProgramFilesFolder]Test\Config\" />






Type='string' 
Value='[ProgramFilesFolder]Test\license_manager\license\test.lic' />




Any ideas why it isn’t copying in the files correctly?

Thanks,

Mike

  
You are using the DestinationProperty attribute in the CopyFile element. 
Try using DestinationDirectory instead.


Fred
begin:vcard
fn;quoted-printable:Fr=C3=A9d=C3=A9ric Viollet
n;quoted-printable:Viollet;Fr=C3=A9d=C3=A9ric
org:Bull, Architect of an Open World (TM);Evidian S.A.
adr;quoted-printable:;;Rue Jean Jaur=C3=A8s;Les Clayes Sous Bois;;78340;France
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:01 30 80 77 34
url:http://www.evidian.com - http://www.bull.com
version:2.1
end:vcard

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users