[WiX-users] How to make smaller .msi-file?

2006-09-14 Thread Anton Filippov
Hello, all How I can make installer smaller? My all files required 4mb space on hdd, but .msi file have size of 8mb! This is... not right I think. I set compressed="yes" in -definition. Thanks, Anton. - Using Tomcat but ne

Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Bob Arnson
Jason Swager wrote: > Yep - I fully agree. But when the customer requires this in an > application - what else can you do? Fire the client. > Privelege escalation is a definite worry. In my solution, I used > named mutexs and encrypted memory mapped files using public/private > key encryptio

Re: [WiX-users] Create Event Log

2006-09-14 Thread Bob Arnson
Peter Stokes wrote: Is there a way to create an event log without resorting to installer files and Custom Actions. Recent builds of WiX v3 include an EventSource element in UtilExtension. Event logs are in the top three of my list. -- sig://boB http://bobs.org ---

Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Jason Swager
Yep - I fully agree.  But when the customer requires this in an application - what else can you do?  Privelege escalation is a definite worry.  In my solution, I used named mutexs and encrypted memory mapped files using public/private key encryption via Windows CryptoAPI to trigger the installation

[WiX-users] Create Event Log

2006-09-14 Thread Peter Stokes
Hi,   Is there a way to create an event log without resorting to installer files and Custom Actions.   Cheers StokesyBe one of the first to try Windows Live Mail. - Using Tomcat but need to do more? Need to support web servi

Re: [WiX-users] light freze

2006-09-14 Thread Bob Arnson
Frank Büttner wrote: > The only output I get is: > Microsoft (R) Windows Installer Xml Linker version 2.0.4415.0 > Copyright (C) Microsoft Corporation 2003. All rights reserved. > Updating file information. > Nothing more:( > Interesting. It's binding at that point. Can you build any merge modul

Re: [WiX-users] Uninstall Progress Dlg

2006-09-14 Thread Bob Arnson
BrianG wrote: > Thank you for the quick response. After going through the different dialog > wxs files, it seems that they don't use progress dialogs during the > maintenence functions. I'm not sure what you mean -- the WixUI dialog sets all show progress during installation (including maintena

Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Bob Arnson
Jason Swager wrote: > This approach has some drawbacks. First, the possibly extra service > running all the time. Which is a source of potential security holes, especially privilege escalation as it's running 100 percent of the time as local system. It works, but it's a sledgehammer of a soluti

[WiX-users] installing service to run as a particular user

2006-09-14 Thread Rene Hollan
I’ve searched but can’t find the Wix magic (if there is any) to install a service to run as a particular user. Can anyone point me in the right direction?   - Using Tomcat but need to do more? Need to support web

[WiX-users] DropSmb and Major Upgrades?

2006-09-14 Thread Justin Martenstein
Has anyone run into a situation where they are trying to create shared directories during a major upgrade, and they end up with no shared folders at all? This seems to have something to with the fact that DropSmb is set as a "Commit" custom action, whereas CreateSmb is not.   Any suggestions

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Simon Burgess
Ah yes thank you, this compiles now however when I run the new msi on top of an existing installation (major upgrade) it still runs the InstallPerfCounter custom action AND then the UninstallPerfCounter custom action as before   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Jason Swager
This isn't supported as an MSI feature - but there is a way to do it.  There was an article somewhere on the MSDN that described it.  And I've seen the same practice used in a number of applications.The solution is to use a NT service.  If your application installs a service already, you can piggy-

[WiX-users] subscribe

2006-09-14 Thread Frank Hsueh
    -- Frank Hsueh, SDET, MSN / Windows Live Mail | SVC4/2647 | 650 693 2168 (work) | 650 796 3744 (mobile) | [EMAIL PROTECTED]     - Using Tomcat but need to do more? Need to support web services, security?

Re: [WiX-users] Uninstall Progress Dlg

2006-09-14 Thread BrianG
Thank you for the quick response. After going through the different dialog wxs files, it seems that they don't use progress dialogs during the maintenence functions. Is this uncommon for WIX? I've been using WIX for less than a month after switching from Installshield. Thanks for your help and

Re: [WiX-users] Elevation Pre-condition not working

2006-09-14 Thread Chesong Lee
Privileged property is set when execution scripts would run under privileged process context. Immediate actions may not have Privileged process context. If you really need administrative privileges for all actions, you need to check AdminUser property instead. However, this may not be a best pra

Re: [WiX-users] Non Default - WebSite Configuration

2006-09-14 Thread Dana Gutride
Jose:The revered tutorial here: http://www.tramontana.co.hu/wix/lesson6.php#6.3 explains that if you want to install to an existing website, that website information should reside out of the component tag.  Otherwise, the MSI thinks that it created the website and upon uninstall it will drop it. 

Re: [WiX-users] Automatic updating an MSI installation under restricteduser account

2006-09-14 Thread Wilson, Phil
I don't believe this is supported until MSI 4.0 - see the User Account Control (UAC) Patching topic: http://windowssdk.msdn.microsoft.com/en-us/library/ms710366.aspx Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petr Vones Sent: Thursday

[WiX-users] Non Default - WebSite Configuration

2006-09-14 Thread Jose Pragash (Wipro Ltd.)
Hi,   We are trying to install files and folders under existing Non-Default Web Site, also need to configure that web site with an AppPool and Security settings, and facing issues in doing this.   How to configure non-default web site by taking the IP Address and Port of the web site? N

Re: [WiX-users] light freze

2006-09-14 Thread Frank Büttner
Bob Arnson schrieb: >> but light will never return:( >> How can I debug this to find out what goes wrong?? >> > Start with -notidy and -v0 to see if you can pinpoint when it happens. > The only output I get is: Microsoft (R) Windows Installer Xml Linker version 2.0.4415.0 Copyright (C) Microso

Re: [WiX-users] Uninstall Progress Dlg

2006-09-14 Thread Bob Arnson
BrianG wrote: > And here's Remove (this doesn't work): > Height="10" ProgressBlocks="yes" Text="Progress done"> > > You can't publish control events from a progress bar; only PushButton, CheckBox, and SelectionTree controls can publish control events. See "ControlEvent Table

Re: [WiX-users] Several doubts on Upgrades

2006-09-14 Thread Bob Arnson
Tiago Silva wrote: > I Know that I am already pushing my luck :) , but can you provide me a > snippet or an example for it? Especially the use of the Upgrade and > UpgradeVersion tags. Take a look at http://www.tramontana.co.hu/wix/lesson4.php. -- sig://boB http://bobs.org -

Re: [WiX-users] Elevation Pre-condition not working

2006-09-14 Thread Bob Arnson
Michael Carlisle wrote: > I also have a pre-condition as follows: > > Privileged > > This property appears to always read 1 which doesn't seem to correctly > reflect the elevation level. My install fails when run this normally, but > succeeds when I explicity run with elevation using an elevated

Re: [WiX-users] light freze

2006-09-14 Thread Bob Arnson
Frank Büttner wrote: > Hello, when I try to build my merge module light freeze. > What I have try: > candle -nologo -sw1044 *.wxs //to build all object's > light -nologo .wixobj > but light will never return:( > How can I debug this to find out what goes wrong?? > Start with -notidy and -v0

Re: [WiX-users] upgrade nightmare

2006-09-14 Thread Bob Arnson
Alexander Gnauck wrote: > Requirements: > - Install and Updates must be redistributable with group policies. > - The updates/patches must run without having the original MSI. > - The latest update must be always be able to update the product, > doesn't matter which previous version is installed. >

[WiX-users] Automatic updating an MSI installation under restricted user account

2006-09-14 Thread Petr Vones
Hi, what is the recommended way of updating/patching existing installation running the application under restricted user account only ? I don't have any experiences with it. The scenario is: - First version of the product is standard MSI package installed by an administrator (to ProgramFiles fol

[WiX-users] Uninstall Progress Dlg

2006-09-14 Thread BrianG
I added a Maintenance dialog to my UI yesterday with Repair and Remove buttons. Each button spawns their respective verify dialog screen. After the user verifies their decision I was looking to display a progress dialog. The Repair works perfectly. After clicking the Repair button on the Verify

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Dana Gutride
Simon:It seems that you may have put the condition inside of the wrong element.  That condition should go in the elements in the InstallExecuteSequence not in the element that define the custom action and it's properties. DanaOn 9/14/06, Simon Burgess <[EMAIL PROTECTED]> wrote: Hi

[WiX-users] Elevation Pre-condition not working

2006-09-14 Thread Michael Carlisle
Hi, I'm building an installer to run on Vista using Wix. I've set the InstallPrivileges property of the package to elevated, and the InstallerVersion to 400. Testing on Vista RC1. I also have a pre-condition as follows: Privileged This property appears to always read 1 which doesn't seem to c

[WiX-users] upgrade nightmare

2006-09-14 Thread Alexander Gnauck
Hello, I am fighting for some days now with figuring out the best update strategy and writing samples for updating and/or patching. Is read the tutorial (http://www.tramontana.co.hu/wix/lesson4.php) several times but there are still lots of open questions. Also the MSDN doesn't help that much w

Re: [WiX-users] COM+ Activation - Run as NT Service

2006-09-14 Thread Some user
George Abraham-5 wrote: > > I want to create an MSI to deploy a COM+ application. I could create the > MSI to do so, but, I could not find a way to change the Activation to "Run > application as NT Service". Is this possible using the COM+ custom action? > If not any ideas on how to approach the

Re: [WiX-users] string replacement in xml files

2006-09-14 Thread Crouch, John
Simon, Here is my test app using the Foobar files from a tutorial plus a deployed App.Config file (could've used a web.config or *.exe.config). Fairly self explanatory - I hope. SampleRegistry.ini reads [COMPUTER_NAME1] AnyOldKeyNameIChooseForMyIniFile=AnyOldValue [COMPUTER_NAME2] AnyOldKeyNam

Re: [WiX-users] string replacement in xml files

2006-09-14 Thread Simon Burgess
Thanks John that’s good to know someone out there is going through the same thing ;-) Could I possibly get a peek at your WiX source that would replace a value within some XML as all I can see from the help is how to create a new element   From: Crouch, John [mailto:[EMAIL PROTECT

Re: [WiX-users] Sequencing issue with a major upgrade

2006-09-14 Thread Simon Burgess
Hi I get the following compile error with your example:   The CustomAction element contains illegal inner text: 'REMOVE="ALL"   When you say something like the sample is thre something else I need to do, apologies I’m not familiar with this syntax   From: [EMAIL PROTECTED] [m

[WiX-users] small and minor update problems

2006-09-14 Thread Alexander Gnauck
Hello, i have strange problems with small and minor udpates. I studied the example in the tutorial several times. The example works for me when i compile it. When i try to update my application then the update copies all new files, but it doesn't replace all exe or dll files which changed. When i