[WiX-users] Automating the inclusion of a mess of files

2008-07-10 Thread Neil Enns
My application will wind up shipping with a ton of loose resource files on disk*. We will have several items with the following well-defined structure: MyFile1.foo MyFile1_files \ 0 \ somefile.txt \ 1 \ somefile.txt ... \ 9 \ somefile.txt This is how the files live

Re: [WiX-users] Uninstall rollback nightmare

2008-07-10 Thread Anidil
I got it working..it was the problem with the rollback condition.Thanks for your comments Rob Mensching-2 wrote: > > Was your rollback CA scheduled before the forward action? If not, it > won't be in the script yet when the forward action fails. After that... > need a lot more information to u

[WiX-users] WiX C++ Custom Action not Invoked after upgrading to VS 2008

2008-07-10 Thread Sujanakar1
Hi, I am developing an installer using Wix. I am not good at C++, So I have written some custom actions in C# and invoking these Custom Actions from Wix using a wrapper written in C++ (it contains nothing other than invoking C# CustomActions) If i build my Custom Wrapper in VS 2005, it is ge

Re: [WiX-users] Keep optional directory on upgrade

2008-07-10 Thread John Nannenga
Ok, so these are essentially components within your installation. In theory then, one way to accomplish this is to create a 'hidden' feature (perhaps called "JRE") within your application installation that shouldn't install the JRE, and add the same ComponentGroupRef to that feature. Condition

Re: [WiX-users] Sql Server: Reporting Services

2008-07-10 Thread Steve Govis
Definitely a major requirement for us too. There is a great scripting tool by Jasper Smith called RSScripter (http://www.sqldbatips.com/showarticle.asp?ID=62) that extracts selected folders, datasource, reports, etc from an RS server and generates script for deployment with the RS.EXE command line

Re: [WiX-users] New Wix 3.0 User - confused

2008-07-10 Thread Brian Rogers
In regards to question 1 of the additional two, I believe the service will stay alive for 10 minutes. This would be best directed at the Windows Installer team however. -- Brian Rogers "Intelligence removes complexity." - Me http://www.codeplex.com/wixml/ On Thu, Jul 10, 2008 at 5:12 PM, Amir Kol

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Alexander Shevchuk
First of all, look at samples I have on my blog (http://blogs.technet.com/alexshev/archive/2008/02/21/from-msi-to-wix-part-5-custom-actions.aspx), specifically type 34 and 50. Looks like you're mixing both of them in your sample. Also, TARGETDIR is where your batch file located? I think you n

Re: [WiX-users] New Wix 3.0 User - confused

2008-07-10 Thread Amir Kolsky
2. The Custom looks like this: For testing purpose it's nothing but a batch file that echos its parameters to another file (echo %1 %2 %3 %4 > hi.txt)... Two more questions. 1. After I run the install there's still an msi process left behind. Why? 2. what is the to use to check

Re: [WiX-users] New Wix 3.0 User - confused

2008-07-10 Thread Rob Mensching
1. WiX.chm is provided with every download. It has a wealth of information (the latest versions have a bunch of cool new "How To"). 2. Don't know, can you tell us more about your CustomAction. 3. Take a look at the Upgrade element. -Original Message- From: [EMAIL PROTECTED] [mailto

[WiX-users] New Wix 3.0 User - confused

2008-07-10 Thread Amir Kolsky
Hi All. So, I'm trying to use Wix 3.0 but it is really hard (I know it's a beta...) A few questions : 1. Is there any documentation for 3.0 anywhere? 2. I'm trying to execute the following: It does not work... I try this: It works... why? What are the al

Re: [WiX-users] Assembly file versions in wixlibs

2008-07-10 Thread Rob Mensching
1. Note in my original comment: "One more legacies of Fusion and its, IMHO, under-informed design choices." I agree with you. I very strongly believe that Fusion did a lot to set back the progress toward real solutions to real problems. 2. "-fv" doesn't mean anything in a .wixlib because the

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
I am just trying to execute the .bat files from wix That's all I am doing here. Could please help me sharing the code to execute only .bat files from wix. Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf O

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
I have modified the code to below I don't know whether it is correct or not, but its throwing same error. Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Petersen Sent: Thursday, July 10,

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Neil Sleightholm
That isn't really sample just a fragment, if you could create a very simple sample that fails I should be able to point you in the right direction. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalvagadda, SivaKrishna (GMIT-TASS) Sent: 10 July 2008

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Chad Petersen
Looks quite off to me in the sample provided. I use the syntax here several dozen times in my installer. I've always found it handy to set a Property in the first CustomAction and then ExeCommand that Property in the second instance. -Original Message- From: [EMAIL PROTECTED] [mailto:[

Re: [WiX-users] Assembly file versions in wixlibs

2008-07-10 Thread Neil Sleightholm
I think I might have replied in hast, in my opinion the GAC is evil, DLL hell in system32 was simply replaced by GAC hell! To be serious I know the reasons for not using file versions but they just don't stack up in the real world and I guess that is why the "rules" are broken by everyone. Is it

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Iam sorry Below is the code With this steps opens command prompt pointing to C:\ (where my bat file is places). Then I tried using below step to execute the .bat file... But no luck :( Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kelly Leahy
Where's the 'cmd.exe' in that command? "Kalvagadda, SivaKrishna (GMIT-TASS)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 07/10/2008 02:43 PM Please respond to "General discussion for Windows Installer XML toolset." To "General discussion for Windows Installer XML toolset." cc Subjec

Re: [WiX-users] ServiceInstall Advise

2008-07-10 Thread Neil Sleightholm
Good point, I'd not actually realised that the ServiceInstall doesn't link to the file by any specific property. I think I will stick to my method of keeping it all in one component. Thanks Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Menschi

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
With this steps opens command prompt pointing to C:\ (where my bat file is places). Then I tried using below step to execute the .bat file... But no luck :( Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Neil Sleightholm
I sorry but I'm stumped these commands work ok for me, could you post a simplified project that fails. Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalvagadda, SivaKrishna (GMIT-TASS) Sent: 10 July 2008 20:40 To: General discussion for Windows Ins

Re: [WiX-users] Fwd: MSXML4 SP1 merge module error

2008-07-10 Thread Christopher Painter
Well it's a pretty long conversation about the pitfalls of merge modules and concurrent installs when it comes to component servicing during upgrade scenarios. basically I tend to chain my prereqs rather then consume merge modules whenever possible. checkout msxml.msi @ http://www.m

Re: [WiX-users] Prevent overwriting a modified text file when upgrading

2008-07-10 Thread Wilson, Phil
Right now that config file is just being uninstalled and then replaced because of the early sequencing of REP. If REP is "late" then the file update rules mean that the config file won't in fact be overwritten if the user has changed it. Phil Wilson -Original Message- From: [EMAIL PROT

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Ilya Slobodin
Bob, Yes, I understand that I need the right arguments set from either bootstrapper or command line. But, the question is what are these right arguments. I need to: 1. Get the patch installed and 2. Keep the database file and 3. Keep using the MoveFile table to backup the database I have nothi

Re: [WiX-users] Keep optional directory on upgrade

2008-07-10 Thread Thomas Singer
Thanks for biting. ;) > How does your application installation (the one with JRE) deploy the JRE? As a . The jre.wxs file is generated using heat using the fragment template and fine tuned with XSLT (adding the ... and setting the Id of the ComponentGroup. > What specifically is meant by "wit

Re: [WiX-users] Assigning values to util:User tag

2008-07-10 Thread Marcin Ligorowski
Thanks for help :) I've the resolution. I should use public property (that name is upper case and installer works, ok). Marcin Marcin Ligorowski pisze: > Hi, > Maybe this is simple question, but I can't assign valid user name and > password to util:User properties (it is not refreshed) > In my m

Re: [WiX-users] Assembly file versions in wixlibs

2008-07-10 Thread Rob Mensching
I understand the issues but I was answering the question "why isn't -fv the default" (sorry, if that wasn't clear). It's not the default because it isn't the recommended way to use the GAC. I'm not even saying I agree with the design. Also, teams in Microsoft do things wrong all the time just

Re: [WiX-users] ServiceInstall Advise

2008-07-10 Thread Rob Mensching
I thought that ServiceInstall would only point at the KeyPath of the Component it is installed in. If my memory is correct, that would mean the ServiceInstall *must* be in the Component with the File that serves as the service. ServiceControl can be in any Component because you may have inter

Re: [WiX-users] Prevent overwriting a modified text file when upgrading

2008-07-10 Thread Rob Mensching
http://blogs.msdn.com/robmen/archive/2003/10/18/56497.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jmcfadyen Sent: Wednesday, July 09, 2008 22:30 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Prevent overwriting a modified text file

Re: [WiX-users] Uninstall rollback nightmare

2008-07-10 Thread Rob Mensching
Was your rollback CA scheduled before the forward action? If not, it won't be in the script yet when the forward action fails. After that... need a lot more information to understand what is going wrong. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [WiX-users] Fwd: MSXML4 SP1 merge module error

2008-07-10 Thread Scott Palmer
On Thu, Jul 10, 2008 at 10:10 AM, Christopher Painter < [EMAIL PROTECTED]> wrote: > I know this won't directly answer your question, but any chance you could > just switch to .NET? You could create a ComVisible(true) class that deals > with your XML/SOAP issues and exposes it to your unmanaged co

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Hi Thanks, I used below code I am facing same problem :(. It is opening command prompt and not executing the next CustomAction below. I tried different options also its behaving in same way, opens the command prompt(just stays idle until I close it) but the next action is not processing.

[WiX-users] Assigning values to util:User tag

2008-07-10 Thread Marcin Ligorowski
Hi, Maybe this is simple question, but I can't assign valid user name and password to util:User properties (it is not refreshed) In my main wxs file I've sa sa ... And in dialog when user has control to enter user password I've the following line Unfortunatelly

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Neil Sleightholm
That custom action sets the property StartWebServer to C:\WINDOWS\System32\cmd.exe (assuming your system folder is C:\WINDOWS\System32). Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalvagadda, SivaKrishna (GMIT-TASS) Sent: 10 July 2008 18:50 To:

Re: [WiX-users] Configurable Merge Modules

2008-07-10 Thread Rob Mensching
Configurable Merge Modules are pretty complicated beasties but there is documentation in the MSI SDK about them. I've never tried to build one myself because I never needed it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Karper Sent:

Re: [WiX-users] Fwd: MSXML4 SP1 merge module error

2008-07-10 Thread Rob Mensching
Just so you know, it's showing up on the list (at least, I've seen it twice now). However, I'm not sure what exactly is wrong so I didn't respond. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Palmer Sent: Thursday, July 10, 2008 06:03 To: Gen

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Can you please explain me what does that property attribute do here below ( in your sample code) Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Sleightholm Sent: Thursday, July 10, 2008 1:48 PM To:

Re: [WiX-users] Keep optional directory on upgrade

2008-07-10 Thread John Nannenga
This seems a little odd, but what the heck, I'll bite. However, since I don't know anything about the Java Runtime Environment, I need more info. How does your application installation (the one with JRE) deploy the JRE? Merge modules? Components you authored yourself into your package? MSI

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Neil Sleightholm
If you have a look at the documentation in wix.chm I think that explains the use of the property. To run your batch file are you doing something like this: Neil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kalvagadda, SivaKrishna (GMIT-TASS

Re: [WiX-users] How do I configure IIS logging?

2008-07-10 Thread Neil Sleightholm
You can do it with a vbscript custom action (see below). I know these are frowned upon but for controlled environments they can work ok. I think this should be part of the iis:WebLog custom action, maybe you should add a feature request. Neil In WiX: Save the following as SetWebLogFolde

Re: [WiX-users] How do I configure IIS logging?

2008-07-10 Thread Luke Bakken
One option is to use cscript.exe/adsutil.vbs to set LogFileDirectory and other metabase settings as a CustomAction. I don't know how you would get the ID of a newly created web site, however. C:\Inetpub\AdminScripts>cscript adsutil.vbs ENUM W3SVC/1 Microsoft (R) Windows Script Host Version 5.6 Cop

[WiX-users] How do I configure IIS logging?

2008-07-10 Thread Bjerstedt, Tony [Audatex - Americas]
I need to control the location where the IIS logs are placed as well as the contents (operations requires additional fields be included). The default is to log to a directory under the system folder which is not acceptable. I see that the WebLog element lets me select the type of log, but doesn

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread John Nannenga
With regards to patches, I've encountered some folks / standards that don't like patch wrappers. So if you don't want a patch wrapper AND you don't want to force users to install your patch via the command line, here's a trick you might find useful... 1) Author a property setting custom actio

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Bob Arnson
Ilya Slobodin wrote: > This makes MoveFile table completely non-functional when the file > being moved is not included in the patch. No, it means that without the right arguments, the patch isn't being processed as you expect. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Ilya Slobodin
This makes MoveFile table completely non-functional when the file being moved is not included in the patch. In our case it's a database, much bigger than the code itself. So, the only solution is to avoid MoveFiles and write CA to suppoft custom MoveFileEx? Best regards, Ilya Slobodin -

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Bob Arnson
Ilya Slobodin wrote: > Any ideas how to avoid REINSTALL & REINSTALLMODE and install the patch? > Minor upgrades, whether in .msi or .msp forms, require those properties. Generally patches are delivered as wrapper .exes to execute the patches with the right command-line arguments. -- sig://b

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Ilya Slobodin
Sorry for the mistake in the explanation. The problem does not depend on UI, it depends only on REINSTALL & REINSTALLMODE I have to use the following command line to get my update installed: msiexec /passive /update Patch.msp REINSTALL=ALL REINSTALLMODE=omus Best regards, Ilya Slobodin ---

Re: [WiX-users] Develpment own extension

2008-07-10 Thread Bob Arnson
Dmitry Berkovich wrote: > I know that the tools in CVS, but as end user, I want install WiX and > just use it, without download & compile code on my machine. > I think the assumption is that if you're developing WiX extensions, you're no longer "just an end user." But feel free to file a featu

Re: [WiX-users] Patch install: MoveFiles and component action states

2008-07-10 Thread Ilya Slobodin
Hello, I have modified the Sample Patch by Peter Marcu to test all the cases. The MoveFile problem happens only if 1. Installer has UI 2. msiexec /update Patch.msp REINSTALL=ALL REINSTALLMODE=omus is used The sample has no UI, so the simplest command line installs the update. msiexec /update P

Re: [WiX-users] Develpment own extension

2008-07-10 Thread Dmitry Berkovich
Hi boB, I know that the tools in CVS, but as end user, I want install WiX and just use it, without download & compile code on my machine. I think, that tool like XsdGen need be distributed as binary with WiX with Votive integration. I just did it today for my team, it took me 10 min to develop i

Re: [WiX-users] Suppress light.exe & ICE warnings....

2008-07-10 Thread Bob Arnson
Neil Enns wrote: > I had the same thought yesterday and took a peek at the code to see how easy > it would be to do, and it looked like something ranging between "pretty hard" > and "nearly impossible" :( > The issue is that there's no real way of identifying the source of the problem at the

Re: [WiX-users] Develpment own extension

2008-07-10 Thread Bob Arnson
Dmitry Berkovich wrote: > 1) XsdGenSource target not released to end users > 2) XsdGen tool not released to end user > Both tools (and others) are available in a WiX CVS enlistment. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Suppress light.exe & ICE warnings....

2008-07-10 Thread John Nannenga
I was able to login and add this as a feature request http://sourceforge.net/tracker/index.php?func=detail&aid=2015144&group_id=105970&atid=642717 Thank you for considering this... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns S

Re: [WiX-users] Suppress light.exe & ICE warnings....

2008-07-10 Thread Neil Enns
I had the same thought yesterday and took a peek at the code to see how easy it would be to do, and it looked like something ranging between "pretty hard" and "nearly impossible" :( Can you add this as a feature request on Source Forge? http://sourceforge.net/tracker/?group_id=105970&atid=64271

Re: [WiX-users] Keep optional directory on upgrade

2008-07-10 Thread Thomas Singer
After I received so good feed-back for the file-gets-overwritten-problem - does someone have an idea how to handle this issue? -- Tom Thomas Singer wrote: > Our application is available in two different versions - one with embedded > Java Runtime Environment (JRE) and one without. The JRE is no

Re: [WiX-users] Suppress light.exe & ICE warnings....

2008-07-10 Thread John Nannenga
Any chance of this making it as a feature for WiX? I liken it to FxCop warnings where devs can choose to ignore specific instances of warnings / mark them as OK. I think this'd be rather useful to folks... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [WiX-users] Suppress light.exe & ICE warnings....

2008-07-10 Thread Neil Enns
John, I don't think anyone got back to you on this yesterday. Unfortunately there's no way to suppress the warnings at the merge module level. It's all or nothing at the project level. Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of John Nannenga [E

Re: [WiX-users] Fwd: MSXML4 SP1 merge module error

2008-07-10 Thread Christopher Painter
I know this won't directly answer your question, but any chance you could just switch to .NET? You could create a ComVisible(true) class that deals with your XML/SOAP issues and exposes it to your unmanaged code. The reason I mention this is MSFT retired the SOAP SDK several years ago and a lo

Re: [WiX-users] Prevent overwriting a modified text file when upgrading

2008-07-10 Thread Thomas Singer
Thank you very much for the link. Now it works as expected. :) -- Tom Christopher Painter wrote: > Read: > > http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx > > Do be advised that if you aren't following good versioning patterns upstream > and you move the the action in the seque

Re: [WiX-users] Unable to execute commonds on commnad prompt..

2008-07-10 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Thanks for your reply... I tried with below code but no luck :( As you suggested I spited into two actions. But I couldn't understand what does the property attribute refers to in below sample (Property="StartWebServer"). Actually I want to run .bat files from WIX. Thanks one more time fo

[WiX-users] Fwd: MSXML4 SP1 merge module error

2008-07-10 Thread Scott Palmer
Resending (third time) since this never seems to get to the list... -- Forwarded message -- I need to include MS SOAP in my installer via three merge modules provided by Microsoft: isapi3_files.msm soap3_core.msm winhttp51.msm They in turn depending on MS XML4 SP1.. of which I ha

[WiX-users] Uninstall rollback nightmare

2008-07-10 Thread Anidil
Hi all I'm facing some problems with my uninstall rollback custom action.Installer doesn't seems to be triggering any "rollback" custom action during uninstall cancel, but i see that it get triggered during install cancel.I have made the rollback CA execute condition as 1 so that it runs always.B

[WiX-users] Are there any CAs to install SSIS .dtsx package and schedule it-WiX 3.0.4227.0 VS2005

2008-07-10 Thread edward jebasingh
Hi Friends, I am a newbie to installers and right now creating test installers to install our product, which consists of database with tables and SPs, IIS and Website, Services and SSIS Packages (.dtsx) our team develops these modules and i am given charge to handle the installation part.   Till

[WiX-users] Develpment own extension

2008-07-10 Thread Dmitry Berkovich
Hi, I want to develop my own extension for WiX. I looked to WiX extension and found nice tool XsdGen that can take Xsd and generate cs file that can be used under class the inherit from DecompilerExtension. WiX extension project files use "XsdGenSource" target to generate cs file. 1) XsdGenSou