Re: [WiX-users] Setting security permissions for a directory...

2008-01-29 Thread Ravikumar Gopinath
Can I use the CreateFolder element even if the directory already exists? Will it remove the directory on uninstall? Date: Tue, 29 Jan 2008 22:25:08 -0800From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Re: [WiX-users] Setting security permissions for a directory... Ravikumar Gop

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread Bob Arnson
mark.modrall wrote: > describes the basic structure and 1 or 2 pre-defined variables but is > obviously not complete. After googling for a long time, I saw some > people referencing $(var.Platform) as pre-defined, for example. I > plugged that in my .wxs and didn't see an undefined var error. Bu

Re: [WiX-users] Setting security permissions for a directory...

2008-01-29 Thread Bob Arnson
Ravikumar Gopinath wrote: How can I set the security permissions for a directory? The util:PermissionEx element can be a child of File, CreateFolder or Registry elements. How can I set it to the directory itself? Add CreateFolder as a child of Directory and PermissionEx as a child of CreateFo

Re: [WiX-users] parents of RegistryValue element

2008-01-29 Thread Bob Arnson
Ted Yu wrote: What are parents of RegistryValue element ? Registry. Neither compiles. Which version of WiX? What error do you get? The parent elements are documented in WiX.chm: Parents Component , Registry , RegistryKey -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Newbie LGHT0094 Error

2008-01-29 Thread Bob Arnson
Tris Hodges wrote: Error 1 Unresolved reference to symbol 'Property:URadioButtonGroup2' in section 'Fragment:'. E:\Developments\WixTest\WixProject\WixProject.wxs 78 1 WixProject RadioButtonGroup's Property attribute points to a Property element defined elsewhere; the error is that it can't fi

[WiX-users] parents of RegistryValue element

2008-01-29 Thread Ted Yu
What are parents of RegistryValue element ? Registry. Neither compiles. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse01207

Re: [WiX-users] Service is not started in Vista, working fine in xp

2008-01-29 Thread SaiTeja
Hi, Thanks for resp. Yaa I tried. When I start service manually from services.msc, I got error message as "Windows Couldnot start Service on Local Computer - Error 1067: The process terminated unexpectedly" Sebastian Brand-2 wrote: > > This definitely looks like a problem of the service, not

Re: [WiX-users] Size of feature

2008-01-29 Thread SaiTeja
Hi, Thanks for reply. What I want is size(XX MB). I want this number to assign some variable(int reqdiskspace) for checking disk space logic. Presently I added manually the variable reqdiskspace=YY(for ex int reqdiskspace=100) In future if size of feature increases then I again I have to modify

[WiX-users] Setting security permissions for a directory...

2008-01-29 Thread Ravikumar Gopinath
How can I set the security permissions for a directory? The util:PermissionEx element can be a child of File, CreateFolder or Registry elements. How can I set it to the directory itself? Thanks Ravi- This SF.net email is s

[WiX-users] repeated CLR registration error

2008-01-29 Thread Ted Yu
I see the following error, run recommended command. When I run installer again, I see the error again: [ERROR] TEDYU1: MapServiceSetup.msi: There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread Josh Maletz
How are you building the solutions? Can you wrap the whole thing in a new Ms build file and use that to control the variables to which you are trying to gain access? Josh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of mark.modrall Sent: Tuesday, January

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread mark.modrall
Thanks, Raj... That's a big help... Seems like I've inherited something that's done a bit backwards, though. The person who put the stuff together (long since departed) put the wix projects in a separate solution from the actual build, and I've been trying to figure out how to get them to communi

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread Justin Rockwood
There's a complete list in wix.chm. Here's the list again if you need it: Project References Introduction The WiX Visual Studio package supports adding project references to a WiX project. This ensures that build order dependencies are defined correctly within the solution. In addition, it

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread Tanikella, Rajanikanth (SCR US)
Hi Mark, One reference I happened upon has a small table of Votove pre-processor variables: http://msdn2.microsoft.com/en-us/library/aa302186.aspx The table is about half-way down the scroll. Hope it helps. Raj -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread mark.modrall
Thanks, Julie... I was referring more the Wix pre-processor (the variables that exist when running Wix to build the msi). http://wix.sourceforge.net/manual-wix2/preprocessor.htm describes the basic structure and 1 or 2 pre-defined variables but is obviously not complete. After googling for a lo

Re: [WiX-users] pre-defined variables?

2008-01-29 Thread Julie Campbell
Mark, My favorite trick is to run an existing or very basic .msi with full logging. Then you can search the log file for "Property(C)" and/or "Property(S)". To run with full logging, run from a command line: MyMsi.msi /lv*x MyMsiLog.txt There is also actual documentation: http://msdn2.microsoft

Re: [WiX-users] Upgrade scenario with multiple existing products!

2008-01-29 Thread Wilson, Phil
You can have multiple upgrade entries, each of which can be marked to uninstall a product. The MSI upgrade table is not restricted to uninstalling only one product. I don't know that migrating the feature states makes much sense if they're rather different, so I'm not sure what your UI choices

Re: [WiX-users] Votive 3.0.3530.0-can't add a relative reference to a wixlib

2008-01-29 Thread Justin Rockwood
Relative references should work if you hand-edit the .wixproj file (let me know if they don't). We fixed a bug recently where the UI portion of it would write out the absolute path, but I don't know if it's in the latest build or not. Justin From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

[WiX-users] Upgrade scenario with multiple existing products!

2008-01-29 Thread Sajo Jacob
I have a tricky situation with my upgrade scenarios; I have 3 existing products all of which have different upgrade codes which needs to be upgraded to my new product (Major Upgrade). The 3 existing old products have different entries in the add/remove programs. I was planning to upgrade one of the

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-29 Thread Richard.Foster
Ben Greenberg wrote: > I can't understand why anyone would want to add the complexity of an unzip > call into an MSI.  It doesn't make sense. Most of the time, you're right it doesn't. I can see scenarios where an application is distributed to resellers who then rebrand the software (hopefully

[WiX-users] pre-defined variables?

2008-01-29 Thread mark.modrall
Hi... I've been googling around to find a list of pre-defined variables that exist in Wix (any pre-existing $(var.) or $(env.) like VS has $(outdir), $(configurationname), etc), but so far no luck. Does such a reference exist? thanks mark

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-29 Thread Ben Greenberg
[EMAIL PROTECTED] wrote: Another Richard wrote: There are times when I think the "unzip files" approach is legitimate. For instance, suppose you have a bunch of data files that represent a snapshot in time for a dynamically updating service. The service, when run, will consume th

[WiX-users] Rollback Managed Custom Action Issue

2008-01-29 Thread Adrian Alonso
I have a Managed Installer Class which I'm using jointly with installutil to execute Install/Uninstall/Rollback/Commit Custom Actions. The only Custom Action which is not working is the Rollback. $MyComponent>2 $MyComponent>2 $MyComp

Re: [WiX-users] Service is not started in Vista, working fine in xp

2008-01-29 Thread Adam Majer
SaiTeja wrote: > Continuation for the previous mail. > > When I start service manually from services.msc, I got error message as > "Windows Couldnot start Service on Local Computer - Error 1067: The process > terminated unexpectedly" Try to run it directly from installation location. What error d

Re: [WiX-users] Trap which error causes rollback within CA

2008-01-29 Thread larsenal
Sebastian, Thanks for the response. I don't have a specific error that's causing a problem. I'm looking for a generic way to handle MSI install errors. The CA is meant to try to report problems with the install. So if the install fails and tries to rollback, the idea is to have a CA that will

[WiX-users] Newbie LGHT0094 Error

2008-01-29 Thread Tris Hodges
Hi, I am a newbie using Wix 3 in VS2005 and having trouble using RadioButtons... Error 1 Unresolved reference to symbol 'Property:URadioButtonGroup2' in section 'Fragment:'. E:\Developments\WixTest\WixProject\WixProject.wxs 78 1 WixProject What have I missed out? Any hints appreciated thanks.

Re: [WiX-users] Size of feature

2008-01-29 Thread Sebastian Brand
The texts for this are definied in the properties SelChildCostPos, SelChildCostNeg, SelParentCostPosPos, SelParentCostPosNeg, SelParentCostNegPos, SelParentCostNegNeg In the MSI help you can find details about this at the SelectionList control description (http://msdn2.microsoft.com/en-us/libr

[WiX-users] Votive 3.0.3530.0-can't add a relative reference to a wixlib

2008-01-29 Thread Chris Bardon
I have a bunch of installer projects that depend on a custom wixlib for common UI elements. Everything was working fine until I changed the project structure on my hard drive, and I noticed that I had to add new references with new absolute paths to the library file. This is a problem if I want t

Re: [WiX-users] Trap which error causes rollback within CA

2008-01-29 Thread Sebastian Brand
What's the log saying? msiexec.exe /i package.msi /lv*log.log (see http://support.microsoft.com/kb/227091 for more switches) Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 29, 2008, at 2:38 , larsenal wrote: > > I'm a complete newbie when it comes to MS

Re: [WiX-users] Service is not started in Vista, working fine in xp

2008-01-29 Thread Sebastian Brand
This definitely looks like a problem of the service, not MSI or WiX. Have you tried to manually install the service in Vista? Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Jan 29, 2008, at 6:23 , SaiTeja wrote: > > Continuation for the previous mail. > > When I

Re: [WiX-users] Application with more than 20 000 files

2008-01-29 Thread Christopher Painter
This is just one of the major weakness's to MSI IMHO. Anyone who's ever done costing on 20,000 files during an upgrade knows how painful it can be to install and even more painful to author so that the component rules are followed and costing leads to the desired result. If you assume tha

Re: [WiX-users] Unzip a .zip file in MSI

2008-01-29 Thread Richard.Foster
Another Richard wrote: > There are times when I think the "unzip files" approach is legitimate. > For instance, suppose you have a bunch of data files that represent a > snapshot in time for a dynamically updating service. The service, > when run, will consume the initial snapshot of files to bu

[WiX-users] conditional installation of services

2008-01-29 Thread chandan Koushik
Hi All, I have an alarm.exe file which should run as a service.This exe file is dependent on Sql Server service.I use the following code to run this exe as a windows service The problem i am facing is that the target system can have SQL Server2005(Service name:MSSQLSERVER) insta

Re: [WiX-users] Application with more than 20 000 files

2008-01-29 Thread JohnPeel
Thank you for your replay. How can I do that? I do not need component rules. John Peel -- Schrieken, Rene wrote: > > You can but you will brake component rules which will prevent you from > updating/patching a single file in that component. > > -Original Mes

Re: [WiX-users] Application with more than 20 000 files

2008-01-29 Thread Schrieken, Rene
You can but you will brake component rules which will prevent you from updating/patching a single file in that component. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of JohnPeel Sent: dinsdag 29 januari 2008 10:16 To: wix-users@lists.sourceforge.net Subje

Re: [WiX-users] Uninstall fails on IIS

2008-01-29 Thread Dror Cohen
Well, this problem is really frustrating. Anyone have any idea how it can be solved? Dror. From: Dror Cohen Sent: Wednesday, January 23, 2008 10:22 AM To: 'wix-users@lists.sourceforge.net' Subject: Uninstall fails on IIS Hi, I have a package that installs several IIS 6 websites. When I install

Re: [WiX-users] Microsoft's Merge Modules and COM problem in WiXv2

2008-01-29 Thread Peter Jaworski
> > You don't need to use the ID.GUID form from the .msm. The Id exists only > to link up the Merge and MergeRef elements. When I have used simple ID now, but the same problem still exists. I have been using ID.GUID form because of tutorial: http://www.tramontana.co.hu/wix/lesson4.php#4.4 > Whi

[WiX-users] Application with more than 20 000 files

2008-01-29 Thread JohnPeel
hi I have an application with more than 20 000 files, the installation and uninstallation are very slow (10 min/ 30 min). Can I install all files in single component which is the root directory? Thanks! John Peel -- View this message in context: http://www.nabble.com/Application-with-more-