[WiX-users] Conditional copying of install files

2008-12-22 Thread Andre Slabber
Hi, Being new to WIX, I'm stuck with the following dillemma: I have four XML files that make up the default configuration of my application. These are to be copied ONLY if there are no existing copies in C:\Documents and Settings\All Users\Application Data\Rogan\View Pro-X, so may not repla

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Bob Arnson
Jim Williams wrote: > > > > > > > WiX automatically schedules AppSearch if you have any *Search elements. Colin, are you using any Fragments in your setup authoring? Open your .msi with Orca and verify that there's an AppSearch table and a RegLocator table matching your authori

Re: [WiX-users] Patch msp isn't showing the peroerty set in the PatchInformation

2008-12-22 Thread Bob Arnson
prasoon gupta wrote: > No the fields are empty for Author, Subject and Comments ... in that screen > Are they visible in the PCP file? Unless you're using the Torch and Pyro tools, it's up to PatchWiz/MsiMsp to set the summary information stream properties. -- sig://boB http://joyofsetup.co

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Bob Arnson
Colin Fox wrote: > > Root='HKLM' Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\' > Name='SharePoint' /> > > > > > > Using the same IDs works because WiX schedules the AppSearch action (which processes RegistrySearch) after it cr

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Jim Williams
Fixing the formatting: Jim Williams 425-221-0289 m -Original Message- From: Jim Williams [mailto:jimwilliam...@comcast.net] Sent: Monday, December 22, 2008 11:35 PM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Install location based

Re: [WiX-users] WiXLib - Including some or all components.

2008-12-22 Thread Monika_Malkani
Hi All, I am a new Wix user. I have a wix xml file containg many nodes. I have to store the values from the nodes(values of each attribute inside the node) to different variables in an aspx.cs page. How do i go about it. I need to use the deserialization and then create objects to store the val

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Neil Sleightholm
The only way I have found to set a directory to a fixed folder is to use a custom action: (You can ignore the condition 'INSTALLDIR=""' if you want but it allows you to specify the value of INSTALLDIR on the command line if you need to.) In WiX v3 you can

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Jim Williams
To make it a little clearer, you can sequence it before LaunchConditions so it will be done near the beginning of the installation process: Now, about that million billion dollars... :-) Jim Williams -Original Message- From: Jim Williams [mailto:jimwilliam...@comcast.net]

Re: [WiX-users] Error wile building WiX solution in TFS Build.

2008-12-22 Thread Neil Sleightholm
Does it work if you build the solution with msbuild? I think this is all tfs does. Neil -Original Message- From: Sachin Dubey (Tata Consultancy Services) [mailto:v-sad...@microsoft.com] Sent: 22 December 2008 23:28 To: General discussion for Windows Installer XML toolset. Subject: Re: [W

Re: [WiX-users] Patch msp isn't showing the peroerty set in the PatchInformation

2008-12-22 Thread prasoon gupta
No the fields are empty for Author, Subject and Comments ... in that screen On Tue, Dec 23, 2008 at 2:35 AM, Bob Arnson wrote: > prasoon gupta wrote: > > In ORCA under MSIPatchMetadata table I am able to see ManufacturerName > name > > as ABC company. but they are not visible While checking prop

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Jim Williams
AppSearch is the action that performs the registry search that you defined. You need to add the tag to the and tags. See the Wix.chm file. Then you should see the registry search in the log file. Jim Williams -Original Message- From: Colin Fox [mailto:greenene...@gmail.com] Sent: Mo

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Colin Fox
On Mon, Dec 22, 2008 at 10:11 PM, Jim Williams wrote: > Do you have Appsearch in the InstallExecute sequence? Also, you could > check > the log file and see what is happening. > > Jim Williams > I've checked the log file (using msiexec /L*v) but there really isn't anything in there to help. All

Re: [WiX-users] Install location based on registry key

2008-12-22 Thread Jim Williams
Do you have Appsearch in the InstallExecute sequence? Also, you could check the log file and see what is happening. Jim Williams -Original Message- From: Colin Fox [mailto:greenene...@gmail.com] Sent: Monday, December 22, 2008 9:46 PM To: wix-users Subject: [WiX-users] Install location

[WiX-users] setupbld scenario

2008-12-22 Thread Alex Ivanoff
I wonder if setupbld can help us in the following scenario. We have our own prereq installer that takes care of all application prerequisites (.NET Framework, C++ runtime, MSXML, etc.). After prereq is done main application installer executes. We need to be able to pass parameters to both prereq in

[WiX-users] Install location based on registry key

2008-12-22 Thread Colin Fox
I really hate to be a broken record, but there is only one issue stopping me from getting my installer working. I just need to be able to read a location out of a registry key and then store 3 files there. None of the examples really fit the bill, and the one example linked to in the big tutorial

[WiX-users] Executing a ConsoleApp file before Installfinalize

2008-12-22 Thread siaj
Hello, I want to execute a ConsoleApp file to do some of the validation of the input values in the Install Screen. My validation code is for a sharepoint app and is written within this ConsoleApp. I want to execute this console application before starting the Install. The issue I am getting is that

Re: [WiX-users] Heat and out-of-proc COM

2008-12-22 Thread Rob Mensching
Not if you add the code to heat to do it for you. -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Thursday, December 18, 2008 17:36 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Heat and out-of-proc COM It did some: TypeLi

Re: [WiX-users] Mapping Custom Actions with the features/Components

2008-12-22 Thread Rob Mensching
Yes. Conditions on Feature, Components and CustomAcitons are possible. Read the MSI SDK topic about Conditions and the syntax for all the things you can do there. -Original Message- From: Kusuma Sudheer Kumar (Tata Consultancy Services) Sent: Monday, December 22, 2008 19:41 To: General

Re: [WiX-users] Mapping Custom Actions with the features/Components

2008-12-22 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Thanks for Info Rob. Ignoring about the dependencies, Can we Map Features/Components with Specific Custom action. Any work around. Thanks Sudheer -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Tuesday, December 23, 2008 6:44 AM To: General discussion f

Re: [WiX-users] Mapping Custom Actions with the features/Components

2008-12-22 Thread Rob Mensching
No. The Windows Installer is declarative install engine that process actions in bulk not in a specified order. Also, GAC installation doesn't happen until the very end of the install so you can't take dependencies on code you're going to add there. -Original Message- From: Kusuma Sudh

Re: [WiX-users] WiXLib - Including some or all components.

2008-12-22 Thread Rob Mensching
Use smaller Fragments. You can nest ComponentGroupRefs under ComponentGroups. So split your Fragments into their smallest parts (optional stuff in an "Optional Fragment" and required stuff in "Required Fragment"). Then you can have Optional "nest a reference to Required" Component Group. It'

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Colin Fox
On Mon, Dec 22, 2008 at 4:49 PM, Colin Fox wrote: > > > There is an example referenced in the tutorial that does just about the > same thing, though he's going based on the location of the .ini file. But he > sets the INSTALLDIR property the same way (just before the 3 nested > directories), and

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Colin Fox
On Mon, Dec 22, 2008 at 4:09 PM, Bob Arnson wrote: > Colin Fox wrote: > > I can grab the SharePoint location out of the registry, but for the life > of > > me I just can't seem to get that set as the TARGETDIR. TARGETDIR always > just > > gets reset to D:\. > > > > MSI sets TARGETDIR so I'd sugge

Re: [WiX-users] Incorporating Heat output into a project

2008-12-22 Thread Bob Arnson
Chris Lord wrote: > I tried adding advertise="yes" but to the Heat output but when I build > it, Candle then complains something about class/@server cannot be > specified at the same time as advertise=yes. This confused me no end as > a couldnt see any reference to the server property. > It

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Bob Arnson
Colin Fox wrote: > I can grab the SharePoint location out of the registry, but for the life of > me I just can't seem to get that set as the TARGETDIR. TARGETDIR always just > gets reset to D:\. > MSI sets TARGETDIR so I'd suggest using a Directory element underneath the one for TARGETDIR. Jus

Re: [WiX-users] WiXLib - Including some or all components.

2008-12-22 Thread Bob Arnson
Drew Turner wrote: > This approach works great for the scenario when we want to include the > entire set of binaries. Although it seems to fall down when we only > want to include certain components. For example say I only wanted to > include the RequiredBinary for a certain project. I was wonde

Re: [WiX-users] Applying multiple patches to a product

2008-12-22 Thread Bob Arnson
Alexander Stock wrote: > So this weird issue is only happening because we're breaking component > rules? > I can't know for sure without more details, but it's certainly possible. Successful patching relies on strictly following the component rules, because patching itself relies on proper

Re: [WiX-users] Error wile building WiX solution in TFS Build.

2008-12-22 Thread Sachin Dubey (Tata Consultancy Services)
Thanks for reply Neil. It's actually not relative path. Its fixed and I know where the source file would go when the c# Solution is build. However at the beginning of the build process this path doesn't exist and created only after completion of first solution build. If I build both the solutio

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Colin Fox
> Date: Mon, 22 Dec 2008 13:15:28 -0800 > From: Bob Arnson > Subject: Re: [WiX-users] A Couple of fundamental questions > To: "General discussion for Windows Installer XML toolset." > > Message-ID: <49500370.1080...@joyofsetup.com> > Content-Type: text/plain; charset=windows-1252; format=f

Re: [WiX-users] Error wile building WiX solution in TFS Build.

2008-12-22 Thread Neil Sleightholm
Are you using relative paths to your source files? IIRC TFS builds output to a different location than a simple msbuild would and that might be causing the problem. Neil -Original Message- From: Sachin Dubey (Tata Consultancy Services) [mailto:v-sad...@microsoft.com] Sent: 22 December 20

Re: [WiX-users] Incorporating Heat output into a project

2008-12-22 Thread Chris Lord
I tried adding advertise="yes" but to the Heat output but when I build it, Candle then complains something about class/@server cannot be specified at the same time as advertise=yes. This confused me no end as a couldnt see any reference to the server property. I know Heat is problematic from a

Re: [WiX-users] CA Control

2008-12-22 Thread Nagaraju Manduri (Sogeti)
Thanks Scott, It was worked with asyncwait option. Thanks & Regards Nagaraju -Original Message- From: Scott Sam [mailto:s...@clearviewecm.com] Sent: Monday, December 22, 2008 2:51 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA Control I think tha

Re: [WiX-users] CA Control

2008-12-22 Thread Nagaraju Manduri (Sogeti)
Thanks Alex, It was worked with "asyncWait" option. Thanks & Regards Nagaraju -Original Message- From: Alexander Shevchuk [mailto:alexander.shevc...@microsoft.com] Sent: Monday, December 22, 2008 2:53 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] CA

Re: [WiX-users] Applying multiple patches to a product

2008-12-22 Thread Alexander Stock
> That violates component rules; you need to add new resources (e.g., > files) to new components. So this weird issue is only happening because we're breaking component rules? Whats the best (and easiest) way to manage patch-/setup creation of a product that changes it (data-)file subset from

[WiX-users] WiXLib - Including some or all components.

2008-12-22 Thread Drew Turner
Hello, We have recently updated our solution from using a Merge Module to utilize a WiX library. Right now the library is used to include a set of binaries in other projects. Basically there is a DirectoryRef that contains a of the component consisting of the (dll, pdb and xml files). Then th

Re: [WiX-users] CA Control

2008-12-22 Thread Alexander Shevchuk
Hi Nagaraju, Set CustomAction/@Return to either "asyncWait" or "check" (if you want to check for error condition in your cmd file). Alex -Original Message- From: Nagaraju Manduri (Sogeti) [mailto:v-na...@microsoft.com] Sent: Monday, December 22, 2008 1:35 PM To: wix-users@lists.sourcef

Re: [WiX-users] CA Control

2008-12-22 Thread Scott Sam
I think that you need to change the return value to asyncWait or check if you want the installer to wait for it. -Original Message- From: Nagaraju Manduri (Sogeti) [mailto:v-na...@microsoft.com] Sent: Monday, December 22, 2008 4:35 PM To: wix-users@lists.sourceforge.net Subject: [WiX-user

[WiX-users] CA Control

2008-12-22 Thread Nagaraju Manduri (Sogeti)
Well, I have a problem in my WIX file. I have a custom action like this but, the MSI install completes before the Custom Action gets over. Please suggest me how to handle this situation. NOT Installed The above CA works as expected, but MSI installati

Re: [WiX-users] Applying multiple patches to a product

2008-12-22 Thread Bob Arnson
Alexander Stock wrote: > Version 8.0.1200 (and therefore the first update) adds some new files to an > existing component. > That violates component rules; you need to add new resources (e.g., files) to new components. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] A Couple of fundamental questions

2008-12-22 Thread Bob Arnson
Colin Fox wrote: > But TARGETDIR and SourceDir are not explained. There is no explanation as to > where they are initially set, or why the ID of the directory is "TARGETDIR" > Because that's what MSI needs, for better or for worse. In general, WiX is not an abstraction on top of MSI, so its ru

Re: [WiX-users] Incorporating Heat output into a project

2008-12-22 Thread Bob Arnson
Chris Lord wrote: > One thing I did do was to compare the MSI files of a working > installation created by Installshield for a previous version and the Wix > generated one using Orca. Straight away, I noticed the working install > has a class table and relatively few registry entries but the Wix h

Re: [WiX-users] Patch msp isn't showing the peroerty set in the PatchInformation

2008-12-22 Thread Bob Arnson
prasoon gupta wrote: > In ORCA under MSIPatchMetadata table I am able to see ManufacturerName name > as ABC company. but they are not visible While checking property using right > click and property + Summary tab. > Look in Orca View|Summary Information. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Mapping Custom Actions with the features/Components

2008-12-22 Thread Bob Arnson
Kusuma Sudheer Kumar (Tata Consultancy Services) wrote: > How do I map my feature with that Custom action. > I am able to map my custom actions in UI Sequence and during > my UI Next and Back Button Navigations. > Use the same conditions; see "Examples of Conditional Statement

[WiX-users] Incorporating Heat output into a project

2008-12-22 Thread Chris Lord
I have application that requires the installation of some 3rd party COM objects. I have used Heat to harvest the details from all the necessary files and after a lot of fiddling, I have managed to get the files to install and I have verified they are copied onto the HD of the target machine in the

[WiX-users] A Couple of fundamental questions

2008-12-22 Thread Colin Fox
Hi everyone. I've been going over the docs and examples for about a week now, and I have some fundamental questions that I really need some direction on. First off – the tutorial at http://www.tramontana.co.hu/wix is great, but he glosses over a lot of stuff without explaining details, and the sc

Re: [WiX-users] Error wile building WiX solution in TFS Build.

2008-12-22 Thread Sachin Dubey (Tata Consultancy Services)
Hi Amit, No of errors are as many as the files are in .wxs file. Error message is: error LGHT0083: The file with id ' and name '' could not be found with source path: ''. Thanks Sachin -Original Message- From: amit srivastava [mailto:sri_amit_2...@yahoo.com] Sent: Sunday, December 21,

Re: [WiX-users] WiX 3.0 Support for T4 Templates in Visual Studio 2008

2008-12-22 Thread Castro, Edwin (Hillsboro)
Thanks! I'll share back with the list if I find anything useful. -- Edwin > -Original Message- > From: Bob Arnson [mailto:b...@joyofsetup.com] > Sent: Saturday, December 20, 2008 2:11 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] WiX 3.0 Support

Re: [WiX-users] Generate GUID at install time

2008-12-22 Thread Alex Ivanoff
I need to generate a GUID as a part of installation process, not for a component. Custom action I guess... -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Monday, December 22, 2008 11:39 To: General discussion for Windows Installer XML toolset. Subject: Re: [W

Re: [WiX-users] Error in Install Directory Dialog - WiX 3.0

2008-12-22 Thread Sachin Dubey (Tata Consultancy Services)
I fix the problem :). There was a action missing in the InstallUISequence tables, adding the correct steps made all working fine.. Thanks Sachin -Original Message- From: Sachin Dubey (Tata Consultancy Services) Sent: Friday, December 19, 2008 4:21 PM To: Sachin Dubey (Tata Consultancy S

Re: [WiX-users] Generate GUID at install time

2008-12-22 Thread Brian Rogers
Hey Alex, There isn't a way to generate a GUID AT install time. However, placing a '*' in the Component/@GUID attribute should give you what you want. Hope that helps, Brian -Original Message- From: Alex Ivanoff Sent: Monday, December 22, 2008 09:24 To: General discussion for Windows

[WiX-users] Generate GUID at install time

2008-12-22 Thread Alex Ivanoff
Is there a WIX extension to generate a GUID? -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] excluding directories from heat

2008-12-22 Thread Phil Sayers
you could use the subversion "export" command to create a copy of just y"your" files, and none of the "hidden" files that svn uses for housekeeping. -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Sunday, November 23, 2008 8:35 PM To: General discussion f

[WiX-users] Mapping Custom Actions with the features/Components

2008-12-22 Thread Kusuma Sudheer Kumar (Tata Consultancy Services)
Hi, This is specific Requirement for my installation package. I am creating a installer msi for installing the My WebBits and GAC'ing the dlls and some other activities. Including this, I want to call some specific Custom actions. I have C# code for it. Ex:

[WiX-users] Applying multiple patches to a product

2008-12-22 Thread Alexander Stock
Hello, we've three minor updates (all are changing the ProductVersion property). 1.) Update from RTM (8.0.1000) to 8.0.1200 2.) Update from 8.0.1200 to 8.0.1210 3.) Update from 8.0.1210 to 8.0.2000 Version 8.0.1200 (and therefore the first update) adds some new files to an existing component. -

Re: [WiX-users] Patch msp isn't showing the peroerty set in the PatchInformation

2008-12-22 Thread prasoon gupta
In ORCA under MSIPatchMetadata table I am able to see ManufacturerName name as ABC company. but they are not visible While checking property using right click and property + Summary tab. On Sun, Dec 21, 2008 at 9:14 PM, prasoon81 wrote: > > No they are not visible in Orca. > > On Sun, Dec 21, 20