[WiX-users] books for Wix and Application packaging

2008-07-29 Thread Krishnan Senthilraj
Hi, Can some one suggest some good books for MSI Application packaging and Wix. Cheers Senthilraj - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with

[WiX-users] SQL Extension Questions

2008-07-29 Thread Murray Hipper
Hi All, Three questions on the SQL extension. 1) Is there a way to set the database collation (and other database options) using the SQL extension? I am assuming it would set on the element or a child element of this, however I can't seem to see it in any xsd schema's. We usually get the databas

Re: [WiX-users] Help on Executing batch file from WIX

2008-07-29 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Hi Chandra, I am using below code to execute the Batch file but no luck, could you please let me know if any thing went wrong. Regards, SivaKrishna Kalvagadda, 201-671-5552. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chandra Vuppal

Re: [WiX-users] Help on Executing batch file from WIX

2008-07-29 Thread Chandra Vuppala
Hi Siva, You can use custom action for caling batch or msbuild scripts. If you find any better approach let me know. code sample; http://schemas.microsoft.com/wix/2006/wi";> From: [EMAIL

[WiX-users] Help on Executing batch file from WIX

2008-07-29 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Hi, I have tried different methods of executing MSI or Batch files from WIX but couldn't find the solution. Could someone please help me in executing a batch file or MSI from WIX. Thanks...Siva. Regards, SivaKrishna Kalvagadda, 201-671-5552. ---

Re: [WiX-users] Framework with Wix

2008-07-29 Thread Krishnan Senthilraj
Hi Rob, What is the best approach for my requirement. Please advice. Cheers Senthilraj On Tue, Jul 29, 2008 at 8:47 PM, Rob Mensching <[EMAIL PROTECTED]>wrote: > Okay, then I just don't understand the original question. > > -Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAI

Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread jmcfadyen
where did you sequence it ? it will need to between installInitialize and InstallFinalize but after InstallFiles. Zane Zeeh wrote: > > I have a custom action in my installer that uses installutil to register a > snap-in for the MMC. It works fine except for when I install on Vista. On > Vist

Re: [WiX-users] Binder variables from Votive

2008-07-29 Thread Christopher Karper
I still can't get any of these binder variables to work. Does anyone have some time to take a look at it? Thanks in advance. :-D Chris On Fri, Jul 25, 2008 at 4:14 AM, Rob Mensching <[EMAIL PROTECTED]>wrote: > Nothing off the top of my head... I'd have to debug this to get to the root > of it.

Re: [WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Please ignore. Will check problem more carefully in future. Sorry Regards Simon Powell -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Powell, Simon Sent: 29 July 2008 22:11 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users]

[WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Hi, The CopyTo method the CabFileInfo Class does not preserve the DateTime Modified of the original file stored in an extracted CAB. Or am I using it wrong. If I extract the files with a CAB extraction utility, I don't have this problem. Regards Simon Powell -- This e-mail is confidentia

Re: [WiX-users] DTF Build Fails on ManagedCA Project

2008-07-29 Thread Jason Ginchereau
There have been no changes to the ManagedCA project or the MakeSfxCA tool since build 3.0.4214. Does that crash repro if you run the same MakeSfxCA.exe command-line from the console? Can you get a stack trace for the exception? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[WiX-users] Prevent entire Web Virtual Directory tree removed on uninstall?

2008-07-29 Thread Lee Greco
Is there a way to prevent the removal of an entire virtual directory tree if a sibling directory exists at uninstall time? My install requires a virtual directory structure X/Y/Z/WebServices and creates it as necessary. The physical location for X is C:\X, Y is C:\X\Y, Z is C:\X\Y\Z and WebSer

[WiX-users] Q regarding uninstalling a feature

2008-07-29 Thread Vidya Kukke
Hi, My installer requires the ability to install and uninstall single/multiple features. I was able to create the node to achieve the installation on a per feature basis. However the uninstall always removes the entire product. What am I missing? I am doing the uninstall via Add/Remove Program

Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-29 Thread Gregory Swanson
Yes, everything is rebuilt first using candle, then light. Am I missing something? This is the complete build script I use: del ENS.wixobj del CustomActions.wixobj del ServSrc.wixobj del WebSrc.wixobj del SiteDataSrc.wixobj candle ENS.wxs CustomActions.wxs ServSrc.wxs WebSrc.wxs SiteDataSrc.wx

Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Alexander Shevchuk
Custom Action Type 51 is your friend: A=1 A<>1 OR NOT A Obviously, XXXSequence - whatever sequence table you need to schedule these actions in, for example, InstallExecuteSequence. Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Alexander Shevchuk
Does this help? Not Privileged Regards, Alex Shevchuk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Tuesday, July 29, 2008 7:32 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help on type 19 custom action Hel

Re: [WiX-users] Should SuppressModularization affect the Target column for custom actions 35 and 51?

2008-07-29 Thread andrejj
Hello Rob, Thanks for your answer. Using of .wixlib would require porting all our setup projects to WiX (apparent step ;-) - this was not a short-term target until now. I will look into wixlib approach... The only working (today) alternative workaround is patching the msm file in a post-build

Re: [WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Ryan O'Neill
Ah, I know what it is now. Using a packet sniffer I can see it is looking up the certificate revocation list as I have signed the MSI. Ryan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: 29 July 2008 16:14 To: General discussion for W

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread cemiles
Never done one of those, but I'd say open your msi w/ Orca and look at the Error table for the index and supply that as the Error="#" attribute, and it will pop your corresponding msg. Anidil wrote: > > Okie...Could you help me to write a type 19 CA that just aborts the > installation throwing

Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
The installutil customaction fails. It works fine on Windows XP, Windows 2003. The command works fine if I open up a command prompt using "Run as Administrator" I run the installutil command from there. The installer completes when I run on Vista, but when I open up MMC the snap-in is not insta

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Anidil
Okie...Could you help me to write a type 19 CA that just aborts the installation throwing a custom error message? Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > Anidil <[EMAIL PROTECTED]> writes: > >> I'm trying to write a type 19 custom action to abort installation and >> di

Re: [WiX-users] ServiceInstall account problem

2008-07-29 Thread cemiles
I'd say that error is very general. Chances are you have missing dependencies. Run your file through reflector or depends and see what you might be missing. Daniel Rieck wrote: > > > > Hi everyone, > > I'm just getting started with WiX. > > I want to create a setup to install a service wr

[WiX-users] Documentation generation for WIX files

2008-07-29 Thread Moradi, Ari
Hi, Our team uses doxygen to create html documentation for our C++ source, and it works really well. I'm just curious if anyone out there is aware of a similar tool that will generate documentation from wxs files. I'd like to be able to put comments in some format in each wxs file and then ha

Re: [WiX-users] Framework with Wix

2008-07-29 Thread Rob Mensching
Okay, then I just don't understand the original question. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Krishnan Senthilraj Sent: Tuesday, July 29, 2008 04:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Framework

Re: [WiX-users] Trying to define virtual dir based on property value

2008-07-29 Thread Rob Mensching
Not quite using the Directory table correctly. You might work backwards from this blog entry: http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx. I think that'll clear up a lot about the way Directory and Properties are i

Re: [WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Rob Mensching
Never heard of that before. MSI may be making a request out to a server the package came from originally but I don't think they reach out anywhere else... that'd be very unusual. CustomAction? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neil

Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Rob Mensching
That should have done it. Can you provide more detail about what "does not seem to work"? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zane Zeeh Sent: Tuesday, July 29, 2008 07:14 To: WiX-users@lists.sourceforge.net Subject: [WiX-users] InstallUtil el

Re: [WiX-users] Temp files after repair

2008-07-29 Thread Rob Mensching
Sorry, shouldn't have been so specific about the log message. That all sounds right. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil Sent: Tuesday, July 29, 2008 07:41 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Temp files after r

Re: [WiX-users] Building msi across OS's

2008-07-29 Thread Neil Enns
Something's not making sense. Properties like [WindowsFolder] are stored directly in the MSI and are resolved at install time. Were you simply using it as a path in something like a element? What do the install logs show when you run the MSI on the target machine? Neil ___

Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Richard
In article <[EMAIL PROTECTED]>, Anidil <[EMAIL PROTECTED]> writes: > I'm trying to write a type 19 custom action to abort installation and > display a formatted message from the target column..Can anybody help me on > this? I need to throw a message based on the return value of another custo

Re: [WiX-users] Temp files after repair

2008-07-29 Thread Anidil
In the verbose log file i see that "MsiSystemRebootPending" property get set to 1.And upon reboot,the temp file get removed and the opened help file during repair get showed up in the installdir.I do not see "files to be removed on next reboot" in the verbose log Rob Mensching-2 wrote: > > Log

[WiX-users] Help on type 19 custom action

2008-07-29 Thread Anidil
Hello there I'm trying to write a type 19 custom action to abort installation and display a formatted message from the target column..Can anybody help me on this? I need to throw a message based on the return value of another custom action.. -- View this message in context: http://www.nabble.co

[WiX-users] Trying to define virtual dir based on property value

2008-07-29 Thread José Diaz Seng
Hi, I am using wix-3.0.4318.0 together with SharpDevelop 3 and have successfully created an installer source file. Now I would like the user to be able to change the virtual directory name (as well as the location of the referenced directory, but let's focus on the first problem...). So I defin

[WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
I have a custom action in my installer that uses installutil to register a snap-in for the MMC. It works fine except for when I install on Vista. On Vista installutil.exe does not get elevated so it fails. I have tried setting impersonate='no' and execute='deferred' as I have seen suggested on t

Re: [WiX-users] EmbeddedUIResource

2008-07-29 Thread John Nannenga
Bug logged: http://sourceforge.net/tracker/index.php?func=detail&aid=2031498&group_id=105970&atid=642714 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Monday, July 28, 2008 11:08 PM To: General discussion for Windows Install

Re: [WiX-users] EmbeddedUIResource

2008-07-29 Thread John Nannenga
Bug logged: http://sourceforge.net/tracker/index.php?func=detail&aid=2031498&group_id=105970&atid=642714 It's been a while since I've submitted to WiX; I'll review the procedures and see what I can do. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: [WiX-users] Building msi across OS's

2008-07-29 Thread Greg Silin
Rob, Thanks for the advice. Unfortunately, my experience was that when [WindowsFolder] was used, it would resolve on the machine where the code *was compiled*. Since I built my code on the client (which might not be a smart choice anyway, but that's a different story), it resolved to C:\Windo

Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Ryan O'Neill
OK, so I owe you money then :) Any way of doing some kind of sysdiff to see what WiX is not doing correctly? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Morris, John - Raleigh Sent: 29 July 2008 13:47 To: General discussion for Windows Installer XML t

[WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Ryan O'Neill
Hi all, Testing my installer under ZoneAlarm I can see that the MSI makes a DNS request to 205.234.175.175 which appears to be some kind of cache server. Although I've inherited this installer I have pretty much rebuilt large chunks of it and I am certain there is no DNS or internet access goin

Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Morris, John - Raleigh
I've looked into that issue too. That was my first thought. The permissions on the certificate are correct. WCF refuses to use the certificate when WiX does the installation. I tried adjusting the permissions using 3 different tools (MMC console, cacls and winhttpcertcfg). When WiX does the insta

[WiX-users] Reading configuration from Config file

2008-07-29 Thread Krishnan Senthilraj
Hi, Is there any code snippet available to read the deployment configuration from Config/INI file. I am looking for option to configure the application packaging based on the different environment. The option I have is SSO Config or Text file based configuration. Any configuration sample would b

Re: [WiX-users] Framework with Wix

2008-07-29 Thread Krishnan Senthilraj
Hi Rob, In our Integration and Production environment have number of servers like 20+ to host our application into load balanced, Technology based installation. To be more precise we are looking for the individual pacakges for each servers. Also we would like to automate these packaging using the

Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Ryan O'Neill
I know you say you checked this, but I had this (although not WiX created) last week. I would put money on the file permissions not being correct for the WCF/IIS user to access. The error I received was the same and using 'findprivatekey.exe' from the SDK helped me locate it on disk. As I'm in deve

Re: [WiX-users] WIX and VS2008 Merge Modules

2008-07-29 Thread Paul Adams
Ahh! Thanks for that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: 29 July 2008 02:31 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WIX and VS2008 Merge Modules Ahh, okay then I know what the pro

Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Sajid1105
Thanks. But, I do not have a UI. does this work if I want to build without UI? ramya ragupathy wrote: > > > > > Sajid1105 wrote: >> >> I want to set a property value depending on a condition.. >> >> >> >> >> if A == 1 then >>B = "A is one" >> else >>B = "A is not one" >> >

[WiX-users] ServiceInstall account problem

2008-07-29 Thread Daniel Rieck
Hi everyone, I'm just getting started with WiX. I want to create a setup to install a service written in .NET. I'm using the code snippet found at http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-ser