Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber
Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes: > Then you should replace Property="INSTALLDIR" with > Directory="INSTALLDIR", resulting in custom action type 34. > Ah, great, that works. Thanks! I was poring over the docs trying to un

Re: [WiX-users] WIX - System.Reflection.TargetInvocationException

2006-12-17 Thread Bob Arnson
Sankaranarayanan wrote: > Unhandled Exception: System.Reflection.TargetInvocationException: Exception > has been thrown by the target of an invocation. ---> > System.NotSupportedException: This .resources file shouldn't be used with > this reader. Your resource reader type: System.Resources.Res

Re: [WiX-users] Trouble with Shortcuts...

2006-12-17 Thread Bob Arnson
André Pönitz wrote: > The current behaviour certainly makes sense from a purely technical > point of view. However, in practise one seemingly has to disable > (some) ICEs just to get some of the most common features compiled. > So the 'default' ICEing is far less useful than it might be. > Sorr

Re: [WiX-users] Customizing strings in the WixUIExtension dll

2006-12-17 Thread Bob Arnson
Jeff Bean wrote: > To override one or more of the strings in the localization file, make a copy > of the WixUI_en-us.wxl file and save it in your project folder. Let's assume > it is called MyUI_en-us.wxl. Edit any of the strings contained in the wxl > that you wish to change. For the sake of tidin

Re: [WiX-users] Testing the ConfigureSQL fix

2006-12-17 Thread Michael Osmond
Rob, Understand the predicament. I have wondered if there is a way I can contribute back to WIX either in testing or documenting. (However time has not always been friendly). I actually started experimenting on some scripts to unit test my installs (so that I could do some major reorganisatio

Re: [WiX-users] Testing the ConfigureSQL fix

2006-12-17 Thread Rob Mensching
Dang it. That's completely unrelated to the SQL change. I made an incorrect assumption about presence of Certificate tables. Grr. It'll be fixed in the next build. PS: as is probably apparent by now, we do not have good unit testing to verify changes in the Server CustomAction code. Even w

Re: [WiX-users] Testing the ConfigureSQL fix

2006-12-17 Thread Michael Osmond
Rob, Have now tested build 4813. Looks okay. Ran the install three times with no ConfigureSQL issue (Log looks good). However for your info the install then fails with a "Failed to read IIsWebs table". I have made no changes to this part of the install, and there is an IIsWebSite table (usin

Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Kalle Olavi Niemitalo
Michael Sperber <[EMAIL PROTECTED]> writes: >Property="INSTALLDIR" > ExeCommand='[SystemFolder]cmd.exe /v:off /c > build\build-usual-image.bat "[INSTALLDIR]" "[INSTALLDIR]scheme" > "[INSTALLDIR]scheme48.image" "[INSTALLDIR]scheme48vm.exe" > "[INSTALLDIR

Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Rob MacFadyen
Doh! You are correct. Well... my last suggestion would be a debug suggestion: while the error dialog is displayed, open a command prompt and try the exact same command. This should help eliminate possible problem causes. Regards, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[E

Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber
"Rob MacFadyen" <[EMAIL PROTECTED]> writes: > As a guess... the /c switch argument "/c build\build-usual-image.bat" > doesn't specify a fully qualified path and cmd.exe is probably having > problems locating it. But doesn't Property="INSTALLDIR" specify that the working directory is INSTALLDIR?

Re: [WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Rob MacFadyen
Michael, As a guess... the /c switch argument "/c build\build-usual-image.bat" doesn't specify a fully qualified path and cmd.exe is probably having problems locating it. Regards, Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Sperber Sent:

[WiX-users] Running cmd.exe from a CustomAction

2006-12-17 Thread Michael Sperber
I'm a casual WiX user, so please forgive me if this is really trivial. I did try searching the documentation and the mailing list for help, but couldn't find any: I'm shipping a batch file with my .msi that I need to run with the /v:off flag to cmd.exe. This is what I have: The idea is t