[WiX-users] SqlScript

2007-02-26 Thread Pierre jean Monrozies
Hi, I am new in using WIx and while learning basics I faced a problem with the SqlSample provided on the wixwiki web site. I am simply unable to execute a msi that hold a SqlScript section. I currently run the V.3.2420 version of wix and I still don't understand why this sample didn't work f

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
How to extract the registration information? I heard there are some tools which can output a Wix include file containing the registration information. But regit.exe doesn't provide that functionality. Thanks, Xin From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 27, 2007 11:31

Re: [WiX-users] Propertys read in with RegistrySearch, manipulated after that in the UI

2007-02-26 Thread Tobias Bengtsson
Thanks bob, I understand how to make them secure, but how do one make a property public? Regards, Tobias From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: den 26 februari 2007 17:03 To: Tobias Bengtsson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Propertys read in with Reg

[WiX-users] Permission element and setting permissions on folder...

2007-02-26 Thread Ravikumar Gopinath
I want to set the following permissions on my folder: read & execute, list contents, read, write, modify. How do I set these permissions? The Permission element has GenericAll which gives "full control". Setting both "GenericRead=yes" and "GenericWrite=yes" gives read & write permissions onl

Re: [WiX-users] Registry keys not removed after uninstall

2007-02-26 Thread Bob Arnson
Emma Hanna wrote: When I install then uninstall my app all registry keys created on install are completely removed as expected. However if I apply a patch to the install and then attempt to uninstall the original application, the registry keys are left behind -- but everything else is removed

Re: [WiX-users] Custom actions that are part of shared components

2007-02-26 Thread Bob Arnson
Stephen Walch wrote: > > My problem occurs when I try to add CustomActions for registering and > deregistering my components. (If you must know, it involves making > STSADM.EXE calls to register a SharePoint "Feature".) I have not > figured out a way to associate my CustomActions with specific

Re: [WiX-users] Patch Uninstall Help - SOLVED

2007-02-26 Thread Bob Arnson
Emma Hanna wrote: I finally worked out why I was having issues uninstalling my patch and thought I would share the solution in case others come across it. The problem was the version of MsiMsp.exe and PatchWiz.dll that I was using to create the patch -- I was using Windows Installer 3.0 to i

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Bob Arnson
Xin Liu (Person Consulting) wrote: Our .msi calls the regit.exe which comes from Visual Studio SDK 2005 during installation. It is defined in custom action. Regit.exe is not redistributable; you shouldn't be using it to register packages. Instead, extract the registration information and p

Re: [WiX-users] How to Use WiX 3.0 with Vista

2007-02-26 Thread Bob Arnson
MJW wrote: > Now that I have that error cleared-up, a new one appears when LIGHT is > running: > C:\...\TEST.msi : error LGHT0204 : ICE39: PID_WORDCOUNT value in > Summary Information Stream is not valid. Source image flags must be 0, > 1, 2, or 3. That doesn't seem right. The doc says that the

[WiX-users] Bättre luft för bättre hälsa

2007-02-26 Thread ITWorks VårtVal
- This mail is in HTML. Some elements may be ommited in plain text. - Tel: +46 (0)8 625 46 40 ULTRA-TYST LUFTRENARE FÖR KONTOR OCH HEM Lider du av allergiska besvär på våren? Besväras du av illaluktande ämnen på din arbetsplats eller i hemmet? En luftrenare kan göra underverk på din hälsa! Vi re

[WiX-users] Registry keys not removed after uninstall

2007-02-26 Thread Emma Hanna
When I install then uninstall my app all registry keys created on install are completely removed as expected. However if I apply a patch to the install and then attempt to uninstall the original application, the registry keys are left behind - but everything else is removed. Could someone help me o

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
Our .msi calls the regit.exe which comes from Visual Studio SDK 2005 during installation. It is defined in custom action. The code fragment is shown as follows: NOT Installed Installed The problem is that when running the .msi in Vista, calling the regit.exe i

Re: [WiX-users] Forced remove of folder and files within

2007-02-26 Thread Matthew Rowan
Yes Dave, that is correct as far as I have experienced. Only the files that match the wildcard within that directory will be deleted. I currently have the problem trying to remove child directories and their contents that are created by the runtime of the installed application.

[WiX-users] Custom actions that are part of shared components

2007-02-26 Thread Stephen Walch
I am attempting to create reusable Components that package up a few files, etc., that are common to multiple installer packages. The windows installer correctly uses reference counting to ensure that the elements of my component get installed once and only once even (when I install multiple MSIs

Re: [WiX-users] Patch Uninstall Help - SOLVED

2007-02-26 Thread Emma Hanna
Hi Everyone I finally worked out why I was having issues uninstalling my patch and thought I would share the solution in case others come across it. The problem was the version of MsiMsp.exe and PatchWiz.dll that I was using to create the patch - I was using Windows Installer 3.0 to install the

[WiX-users] NAnt Task Documentation

2007-02-26 Thread Christopher Brandt
Is there any documentation on the Wix NAnt tasks? In the assembly I can see three tasks: LightTask, CandleTask and LitTask. But I can't find any docs for them. I'm going to look at the source build files too see how they're used (and I guess I could look directly at the task source). But docs are

Re: [WiX-users] WiX3 Error: The primary key xxx is duplicated in table 'Registry'

2007-02-26 Thread Neil Sleightholm
I'll try both. (I have tried to get an assignment agreement before but never received a reply.) Thanks Neil From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 25 February 2007 18:21 To: Neil Sleightholm Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX3 Error: The primary

Re: [WiX-users] How to Use WiX 3.0 with Vista

2007-02-26 Thread MJW
Bob, Thank you very much for that clarification. Now that I have that error cleared-up, a new one appears when LIGHT is running: C:\...\TEST.msi : error LGHT0204 : ICE39: PID_WORDCOUNT value in Summary Information Stream is not valid. Source image flags must be 0, 1, 2, or 3. I've checked the fo

[WiX-users] NAnt Task Documentation

2007-02-26 Thread Christopher Brandt
Is there any documentation on the Wix NAnt tasks? In the assembly I can see three tasks: LightTask, CandleTask and LitTask. But I can't find any docs for them. I'm going to look at the source build files too see how they're used (and I guess I could look directly at the task source). But docs are

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Wilson, Phil
If you are an administrator and you install the MSI then it will elevate when it goes to the InstallExecuteSequence (and work!) while the UI sequence runs as standard user. If it's failing even though you are an administrator then you are perhaps installing something from the UI sequence. If this i

Re: [WiX-users] wix for Office 2007 .net 2.0 shared add-in

2007-02-26 Thread Patrick Schmid
Chris, You should look at the Creative Commons add-in: http://blogs.msdn.com/robmen/archive/2006/06/20/641202.aspx There is a tool in the wix toolset that allows you to generate wix XML out of an existing MSI. With that, it might be easiest for you to reverse-engineer the MSI of this add-in and ta

Re: [WiX-users] Forced remove of folder and files within

2007-02-26 Thread dave_c
Thanks Bob, I've changed my code to One quick question. The specification of RemoveFile, due to it's positioning within the Component structure does this just remove file it find within the logs directory? I.E. In the example abo

Re: [WiX-users] wix for Office 2007 .net 2.0 shared add-in

2007-02-26 Thread Chris Bardon
Patrick, I'm looking at doing something very similar (albeit with Office 2003 for now). I'd be interested in what you find out, since I'm just starting with WiX as well. If you want to detect Office 2007 though, couldn't you just look at HKLM\Software\Microsoft\Office\12\ and see if it exists?

Re: [WiX-users] Forced remove of folder and files within

2007-02-26 Thread Bob Arnson
dave_c wrote: > Is there an easy way in Wix to delete this folder and the files contained in > it and if there is an example I'd appreciate it. > Take a look at RemoveFile and RemoveFolder. -- sig://boB http://bobs.org ---

Re: [WiX-users] permanent='yes'

2007-02-26 Thread Bob Arnson
Saranath Aravamudhan wrote: I read that permanent='yes' attribute in the Component tag makes the component un-installable. I am facing the problem with one of the components in our product when the permanent flag got included due to the infamous "copy and paste". I read that this sets a regKe

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Bob Arnson
Xin Liu (Person Consulting) wrote: We have a .msi file built from Wix toolset which calls one of the VS SDK tool. Please be more explicit. Which tool? As a custom action or a build-time tool? Can you show a code fragment? -- sig://boB http://bobs.org

Re: [WiX-users] Uninstalling MSI app after files get deleted

2007-02-26 Thread Bob Arnson
Jeelan Sheriff wrote: I have an MSI, whose dependent files gets copied to %SystemDir%. If these files are accidentally deleted by the user, I am having issues while uninstalling the app. Is there a way for me to 'ignore' these kind of errors during uninstall of the apps. Depends on the is

Re: [WiX-users] Propertys read in with RegistrySearch, manipulated after that in the UI

2007-02-26 Thread Bob Arnson
Tobias Bengtsson wrote: Which action evaluates which features to be installed? CostFinalize In my different features I use conditions to decide what to be installed or not (NAME = "test", installed If NAME=test), and depending on if the property gets set with a RegistrySearch or in my own

Re: [WiX-users] Problem after WiX upgrade

2007-02-26 Thread Michael Sperber
Some more info on my problems: - The log file of "msiexec /i" shows this: MSI (c) (C8:AC) [15:57:48:335]: Machine policy value 'Debug' is 0 MSI (c) (C8:AC) [15:57:48:335]: *** RunEngine: *** Product: scheme48.msi *** Action: *** CommandLine:

Re: [WiX-users] msi Log when called from setup.exe

2007-02-26 Thread Dana Gutride
Msi logging can also be enabled via the registry. The log will be created in your %temp% folder (just type that in your windows explorer address bar and you'll be taken to the correct location). In order to enable logging, copy the following into a file with a .reg extension and then double clic

Re: [WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Gareth at Serif
You need to make sure that your bootstrapper has one of the magical Vista strings within it like "setup" or "install". This will instantly elevate the priveledges within Vista unless it has a corresponding Manifest file telling it not to. I get the impression that you're calling the MSI file dir

[WiX-users] permanent='yes'

2007-02-26 Thread Saranath Aravamudhan
Hello- I read that permanent='yes' attribute in the Component tag makes the component un-installable. I am facing the problem with one of the components in our product when the permanent flag got included due to the infamous "copy and paste". I read that this sets a regKey but couldn't find the

Re: [WiX-users] How long can be an String?

2007-02-26 Thread Frank Büttner
Friedrich, Oliver schrieb: > Well, ICE03 claims following in Windows-SDK: > > The string's length is greater than the column width specified by the column > definition. Note that the installer does not internally limit the column > width to the specified value. See Column Definition Format. >

[WiX-users] Forced remove of folder and files within

2007-02-26 Thread dave_c
Hi there, I manually create a logs folder during installation using the CreateFolder option. During the lifetime of the application this directory is written to with some logs files. Therefore, when I come along to delete this directory, because it contains files the installer does not know abo

[WiX-users] How to force the .msi "run as Administrator"

2007-02-26 Thread Xin Liu (Person Consulting)
We have a .msi file built from Wix toolset which calls one of the VS SDK tool. So if the .msi is ran in Vista, even if you are a member of Administrator group, it will failed. However, if run it "as Administrator" (Right click cmd.exe, choose "Run as Administrator", then call the .msi from the c

Re: [WiX-users] How long can be an String?

2007-02-26 Thread Friedrich, Oliver
Well, ICE03 claims following in Windows-SDK: The string's length is greater than the column width specified by the column definition. Note that the installer does not internally limit the column width to the specified value. See Column Definition Format. So it seems to depend on the Table, but

Re: [WiX-users] How long can be an String?

2007-02-26 Thread Frank Büttner
Friedrich, Oliver schrieb: > AFAIR its not the Value, that is too long, but the identifier, that should > not be longer than 255. > > Qt_accessible_qtaccessiblecompatwidgets1Modul.57F8AC9F_2E4B_4879_A18C_172F2EB1.0 > > Try to shorten it a bit. > > Oliver Friedrich > Consultant - Software So

[WiX-users] New user and a Question

2007-02-26 Thread James M Knox
Hi, My name is Mark Knox, I work for a large UK college where my job is to ensure that the software that is needed by the student and staff is installed on the network. i found WIX when I needed to install a small program on the network with the capacity to remove it afterwards silently. As th

Re: [WiX-users] msi Log when called from setup.exe

2007-02-26 Thread André Pönitz
Balakrishna.BK wrote: > Hi All, >When I click on msi to install, I get an error message to > install the software using setup.exe only. How can I bypass > this and install from msi directly. Basically I need to > create install log file. > > msiexec /i file.msi /l*v file.log > > I am e

[WiX-users] msi Log when called from setup.exe

2007-02-26 Thread Balakrishna.BK
Hi All, When I click on msi to install, I get an error message to install the software using setup.exe only. How can I bypass this and install from msi directly. Basically I need to create install log file. msiexec /i file.msi /l*v file.log I am expecting workarounds or suggest

[WiX-users] Propertys read in with RegistrySearch, manipulated after that in the UI

2007-02-26 Thread Tobias Bengtsson
Hey everyone, Which action evaluates which features to be installed? In my different features I use conditions to decide what to be installed or not (NAME = "test", installed If NAME=test), and depending on if the property gets set with a RegistrySearch or in my own UI, I get different results,

Re: [WiX-users] How long can be an String?

2007-02-26 Thread Friedrich, Oliver
AFAIR its not the Value, that is too long, but the identifier, that should not be longer than 255. Qt_accessible_qtaccessiblecompatwidgets1Modul.57F8AC9F_2E4B_4879_A18C_172F2EB1.0 Try to shorten it a bit. Oliver Friedrich Consultant - Software Solutions   -Original Message- From:

[WiX-users] How long can be an String?

2007-02-26 Thread Frank Büttner
I will get this warning: ICE03 WARNING String overflow (greater than length permitted in column); Table: ModuleSignature, Column: ModuleID, Key(s): Qt_accessible_qtaccessiblecompatwidgets1Modul.57F8AC9F_2E4B_4879_A18C_172F2EB1.0 What is the maximum length for the fields? Thanks. smime.p7s