Re: [WiX-users] How to localize with Votive

2009-01-22 Thread Christopher Karper
I'm just starting the localization stuff, so I'll take whatever reccomendation you have. Is the MUI pack stuff supported by WiX in any way, or do I just need to go google up info on that as a seperate tech? Chris On Thu, Jan 22, 2009 at 8:55 PM, Bob Arnson wrote: > Christopher Karper wrote: >

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
Also, Edwin, I was wondering what your environment was like? Mine is a quad Core I7 with 8gb of ram and a fast raptor drive... When I get the solution from TFS, this is the only computer that has problems building it... I am wondering if it has to do with the high-concurrency... -Origina

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
Remember to restart Visual Studio. -Original Message- From: Castro, Edwin (Hillsboro) [mailto:egcas...@checkfree.com] Sent: Thursday, January 22, 2009 9:46 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors I do ha

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread Castro, Edwin (Hillsboro)
I do have both Merge Modules and Install projects. I have not tried your approach yet. I had tried unloading all wix projects at once but that did not help. Unloading is much easier than recreating the solution file from scratch. I'll give it a try and respond back with my results. I have to get

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
Edwin, do you have both Merge Modules and Install projects in the solution? In my case, I found that if I unload the install projects and restart visual studio... then I rebuild everything and reload the install projects one by one I can get it working again in Visual Studio itself. -Origin

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread Castro, Edwin (Hillsboro)
I'm also using v3.0.4805.0 and started experiencing these Internal MSBuild Errors. I've noticed that building from the command line works fine while building from within Visual Studio does not. I found these two emails on a similar situation: http://www.tech-archive.net/Archive/DotNet/microsoft

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
After I reproduced it in Visual Studio 2008, I exited and ran msbuild as suggested. The command line msbuild builds correctly. I opened Visual Studio again, and it still does not build. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 22, 2009 7:5

Re: [WiX-users] How to localize with Votive

2009-01-22 Thread Bob Arnson
Christopher Karper wrote: > I'd like to have Votive build a language neutral (en-US for my company) > version, then apply translation transformations to it when needed. Votive doesn't support transforms. But you'll probably have better luck with an actual language-neutral base package, if you h

Re: [WiX-users] Validate ElementPath in before setting value

2009-01-22 Thread Bob Arnson
Anupama A wrote: > How can I add a check before updating values? > Use XmlConfig instead of XmlFile; the VerifyPath attribute does what you're looking for. -- sig://boB http://joyofsetup.com/ -- This SF.net email

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > How would you do that? > From a VS2008 command prompt, run 'msbuild foo.sln' -- should be the same as build in the IDE. > I cannot seem to find the .sln.cache file... > MSBuild should recreate it. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Changing File source depending on deployment environment

2009-01-22 Thread Bob Arnson
Anupama A wrote: > Thanks. I can use the preprocessor provided I know what values to set at > compile time. > I need a solution that is flexible enough to set values at deploy time, may > be based on some user input > Use multiple components and give each one a condition based on a property yo

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Wilson, Phil
To add to this: 1) A dependent assembly that you're installing in the GAC will be an issue because they're not available until the end of the install after StartServices. 2) What would you do in other circumstances if your service crashed or would not start? This is no different really. If it

Re: [WiX-users] How to Get a Custom Action to run with Elevated Permissions

2009-01-22 Thread Wilson, Phil
You can only do this from an elevated start. One of the detours people use instead of an elevated command line is a bootstrapper that gets the elevation prompt and then starts the UI. Phil Wilson -Original Message- From: Dylan Moline (Volt) [mailto:a-dyl...@microsoft.com] Sent: Thur

[WiX-users] Validate ElementPath in before setting value

2009-01-22 Thread Anupama A
My MSI updates the app.config file using . Something like this, I want to add an existence check for the node/attribute, if it exists, update the value, else forget it! The Wix file compiles fine which is expected, but during deployment Wix complains "Failure to find node: /configuration/HandleC

[WiX-users] How to localize with Votive

2009-01-22 Thread Christopher Karper
I've read through the help and my list archive, and I'm a little stuck. It seems to me that there are 2 approaches to building localized installers... 1.) Build an installer for each supported culture-language.. This is what Votive defaults to when you add .wxl files. 2.) Build a language neutra

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
This is a deferred custom action and I am using net.exe to start the service - this is done in a separate deferred custom action. I must also add that net.exe starts the service but form (unknown) reason reports that it failed to do so. Hence I ignore its return value. Rob Mensching

Re: [WiX-users] Changing File source depending on deployment environment

2009-01-22 Thread Anupama A
Thanks. I can use the preprocessor provided I know what values to set at compile time. I need a solution that is flexible enough to set values at deploy time, may be based on some user input Message: 2 Date

Re: [WiX-users] Showing Rollback Status

2009-01-22 Thread vexilar
Looking at this post: http://n2.nabble.com/Can-a-CustomAction-provide-text-for-the-Progress-Dialog--td688663.html#a688664 further tells me that it isn't supposed to work for rollback OR immediate CAs. But mine works for immediate CAs. In any case, is there any way to show status while rolling ba

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Rob Mensching
1. Is it deferred? 2. Does it start the service as well as install it, or just install it? -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Thursday, January 22, 2009 14:41 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problems

[WiX-users] Showing Rollback Status

2009-01-22 Thread vexilar
I can get my status messages to show up just fine for immediate and deferred custom actions like this: Performing your custom action.. But when I try to do this for my rollback custom actions nothing appears. In my UI file I have this line declared for showing the status messages:

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
The installUtil is scheduled after the InstallFiles Rob Mensching wrote: > Where did you schedule the InstallUtil CustomAction? > > -Original Message- > From: Joe Osman [mailto:joe.os...@tait.co.nz] > Sent: Thursday, January 22, 2009 11:27 > To: General discussion for Windows Installer XM

Re: [WiX-users] directory access attribute

2009-01-22 Thread Chad Petersen
I've done something like this for the "Everyone" user. Perhaps it can help as a sample for you. -Original Message- From: Bo Cordell [mailto:bcord...@microsoft.com] Sent: Thursday, January 22, 2009 12:14 PM To: wix-us

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Rob Mensching
Where did you schedule the InstallUtil CustomAction? -Original Message- From: Joe Osman [mailto:joe.os...@tait.co.nz] Sent: Thursday, January 22, 2009 11:27 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Problems installing a windows service I had the

Re: [WiX-users] How to Get a Custom Action to run with Elevated Permissions

2009-01-22 Thread Rob Mensching
To be elevated you must be deferred (unless the entire install is elevated but that shouldn't be the goal). More importantly, you need to be deferred to correctly support rollback. CustomActions that modify system state should be deferred with rollback actions as well. -Original Message--

[WiX-users] How to Get a Custom Action to run with Elevated Permissions

2009-01-22 Thread Dylan Moline (Volt)
So I have a custom action which is called during the UI, but before the user elevates. If I run it from a elevated command line, it installs properly, but if I run it by double clicking, it will not complete the custom action properly (as the CA calls a DLL which modifies the registry). Here is

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Christopher Painter
I assure you that using InstallUtil isn't a required magical fix. In fact, it's a very ugly solution. --- On Thu, 1/22/09, Joe Osman wrote: > From: Joe Osman > Subject: Re: [WiX-users] Problems installing a windows service > To: "General discussion for Windows Installer XML toolset." > > Da

[WiX-users] directory access attribute

2009-01-22 Thread Bo Cordell
Using Wix, how can I install a directory restricting a group's (for example Users) access right to be read-only? Thanks. Bo -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story.

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Joe Osman
I had the same problem and I had to use InstallUtil. When the problem occurred and I was looking for a solution, I found out that other people had the same issue and they all had to use InstallUtil. Chad Petersen wrote: > Different Chad here, but another thing I've run into was the service > ha

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Chad Petersen
Different Chad here, but another thing I've run into was the service having a dependency on another service, like RPCSS.EXE. In code it looks something like this Without this entry on the services they would fail with the same error, if I recall. Not sure if Reflector/Depends would show this sor

Re: [WiX-users] Installing a service wich is also a COM server

2009-01-22 Thread Rob Mensching
Be great to have in a feature request so we don't lose it. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Thursday, January 22, 2009 09:56 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installing a service wich is also a COM

Re: [WiX-users] Installing a service wich is also a COM server

2009-01-22 Thread Neil Sleightholm
Would you like this in a bug/feature request? Neil -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 22 January 2009 16:02 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Installing a service wich is also a COM server 1.

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
How would you do that? I cannot seem to find the .sln.cache file... -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 22, 2009 11:23 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuil

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > It is not as simple as building an individual wixproj.. I am more than happy > to assist troubleshooting, however, because it appears to be an exception > being thrown, it would seem that attaching to the process and catching all of > the exceptio

Re: [WiX-users] change text of uninstall window

2009-01-22 Thread Bob Arnson
Andreas Owen wrote: > Is it possible to change the text of the standard uninstall dialog (add and > remove software)? > Very little. ARP runs uninstalls in "basic UI" mode. See the Error Table topic in the MSI SDK for the strings it uses. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread John H. Bergman (XPedient Technologies)
I have more info. So my solution, including everything has like 150+ projects. When the problem occurs, it screws up everything, the only apparent way to recover is to unload all of the install projects, and then restart visual studio. Once started, I can reload all of the MergeModules (there

[WiX-users] change text of uninstall window

2009-01-22 Thread Andreas Owen
Is it possible to change the text of the standard uninstall dialog (add and remove software)? -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadt

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-22 Thread jballe
Ok so I probably have to get around this issue by setting some properties or similar. I will give it a try. Thank you for your assistance. Rob Mensching-2 wrote: > > I do have CustomActions that do this sort of thing but I don't use DTF. > Somewhere there is probably a bug. > -- View this

Re: [WiX-users] Installing a service wich is also a COM server

2009-01-22 Thread Rob Mensching
1. Ahh, VB. Yeah, that would be a gap since I don't know anyone around here that programs in VB right now. 2. Also haven't played with .NET/COM Interop. So those are the things missing. I guess that makes sense. Might be neat things to have in an extension. -Original Message- Fro

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-22 Thread Rob Mensching
I do have CustomActions that do this sort of thing but I don't use DTF. Somewhere there is probably a bug. -Original Message- From: jballe [mailto:j...@visionpeople.dk] Sent: Thursday, January 22, 2009 08:01 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction access

Re: [WiX-users] CustomAction accessing CustomTable

2009-01-22 Thread jballe
Thank you for your answer, Rob! Do you (or anyone else) have anything I could try to come over this issue. Are there another way to acheive this - have noone else used a CustomTable and CustomActionData before?? Would it make sense to use any kind of nightly build? Or is it not a wix issue anywa

Re: [WiX-users] InternetShortcut with Icon

2009-01-22 Thread Bob Arnson
Jagdish Sakhiya wrote: > But I don't know how to apply shortcut icon on intranet base > application. Can anybody tell me how to do that? > It's not currently supported. I believe there's a feature request open to support it, but it's not planned for WiX v3.0. -- sig://boB http://joyofsetup.c

Re: [WiX-users] Changing File source depending on deployment environment

2009-01-22 Thread Bob Arnson
Anupama A wrote: > 2. Depending on the deployment environment, I also want to add source files > to the MSI, like Dev.Config should be part of Dev.MSI etc. These are needed > to start the service later. > Check out the preprocessor topic in WiX.chm; you can use , for example, to conditionally

Re: [WiX-users] Changing File source depending on deployment environment

2009-01-22 Thread Rob Mensching
File element can't be a property. It has to be included in your MSI. CopyFile might do what you want. -Original Message- From: Anupama A [mailto:anupama...@gmail.com] Sent: Wednesday, January 21, 2009 23:28 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Changing File source dep

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Bob Arnson
Andrew Lee wrote: >1. Can the MSI package be marked in some way so that the complete MSI > file (under 5 MBs in my case) is cached by Windows Installer? > No. >2. Can my setup bootstrapper call some MSI API to make Windows > Installer cache the complete package? > No. >

Re: [WiX-users] WiX 3.0.4805.0: Internal MSBuild Errors

2009-01-22 Thread Bob Arnson
John H. Bergman (XPedient Technologies) wrote: > I have already upgraded to the latest release (4917). > OK. Can you build the .wixproj via MSBuild from a command line, not within Visual Studio? -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] InternetShortcut with Icon

2009-01-22 Thread Rob Mensching
I didn't know the extension let you add your own shortcut. Where did you see it let you do that? -Original Message- From: Jagdish Sakhiya [mailto:jsakh...@cybage.com] Sent: Thursday, January 22, 2009 05:07 To: wix-users@lists.sourceforge.net Subject: [WiX-users] InternetShortcut with Ico

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Rob Mensching
Just FYI, that error message you get is the generic, "Something went wrong starting this service". It's quite maddening because you have to hunt down the real issue. 80% of the time it's what Chad suggests. -Original Message- From: Chad Miles [mailto:chad.mi...@gmail.com] Sent: Thursda

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Rob Mensching
Actually, for Office the media is just copied to the local machine, no "extraction" done. The feature is called "Local Installation Source". I called it "LocalCache" when I wrote it back in 2001-2002. Plans are to build a similar feature in to burn for WiX v3.5. -Original Message- Fr

Re: [WiX-users] Sql scripts do not run at the time of uninstallation

2009-01-22 Thread Rob Mensching
Are you sure it is the identical issue? Look in the verbose log file for error details. -Original Message- From: anwesha.m [mailto:anwesh...@live.com] Sent: Thursday, January 22, 2009 05:56 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Sql scripts do not run at the time o

Re: [WiX-users] Problems installing a windows service

2009-01-22 Thread Chad Miles
Have you run depends/reflector on your file to see if your missing any dependencies by chance? On Thu, Jan 22, 2009 at 9:48 AM, Thomas Due wrote: > I am currently experimenting with WiX to see if it is something we can > use for our next generation software. > > > > My immediate thought was to s

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Neil Sleightholm
I believe products like Microsoft Office extract the MSI to a folder and leave it on your system to allow for changes. Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com From: Andrew Lee [mailto:a...@solarflare.com] Se

[WiX-users] Problems installing a windows service

2009-01-22 Thread Thomas Due
I am currently experimenting with WiX to see if it is something we can use for our next generation software. My immediate thought was to simply build the complete installation from ground-up in small steps. This have worked fine so far, now I have run into a problem though, when I try to

Re: [WiX-users] Sql scripts do not run at the time of uninstallation

2009-01-22 Thread anwesha.m
Hi Rob, I am now using the latest Wix build. But i am still facing this issue. Am i missing any properties? This is how I am using sqlscript- Rob Mensching-2 wrote: > > WiX v3.4311.0 is 6-months old. There have been a lo

[WiX-users] InternetShortcut with Icon

2009-01-22 Thread Jagdish Sakhiya
Hi All, I am able to create shortcut of intranet base application. it is working fine. Find my code as follow. I am asking user to enter name to virtual directory in dialog. So, in my case, target url will be generated dynamically. http://localhost/[ADMINVIRTUALDIRECTORY]/Default

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Andrew Lee
Eric Teutsch wrote: > All MSI packages are cached my Windows. See: C:\WINDOWS\Installer > Yes I realise that, but the cached package has all embedded files and cabinets stripped out to save space. So when adding a feature to an existing installation, the cached package does not include the n

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Eric Teutsch
All MSI packages are cached my Windows. See: C:\WINDOWS\Installer -Original Message- From: Andrew Lee [mailto:a...@solarflare.com] Sent: January 22, 2009 07:39 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or r

[WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-01-22 Thread Andrew Lee
I am using a (custom written) setup bootstrapper with an embedded MSI package, the bootstrapper extracts the MSI package to a temporary directory, performs the installation and then deletes the temporary directory. When later via Add/Remove Programs I try to add extra features or sometimes dur