[WiX-users] SqlScript sample

2007-03-01 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

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

2007-03-01 Thread Tobias Bengtsson
Hi They are like this (from the top of my head): Feature Id=Feature1etc... Level=3 ComponentRef Id=...whatever../ Condition Level=1POSSERVER = 1/Condition /Feature Feature Id=FeatureForSweden etc... Level=3 ComponentRef Id=...whatever../ Condition Level=1COUNTRY =

Re: [WiX-users] starting service on install

2007-03-01 Thread Rob Hamflett
I'm not sure why you're getting problems with LocalSystem. The reason you're having trouble for other users though is probably because they don't have the 'start services' right. You'll need a custom action to set this for whichever user. Rob Lindsay Harris wrote: Hi! I have a

[WiX-users] DirProperties

2007-03-01 Thread Ziegelwanger, Silvio
Hello! I'm using wix v3 and I want to confugure my Web Application over the setup. It should be able to switch the kind of authentication like this: Property Id=AUTH Hidden=no Admin=yes Value=yes / iis:WebDirProperties Id=WmiProperty Execute=yes AnonymousAccess=[AUTH] / Candle

Re: [WiX-users] starting service on install

2007-03-01 Thread Ziegelwanger, Silvio
Hi! You can set log on as service via the GroupPolicy/ComputerConfigurations/WindowsSetting/SecuritySettings/LocalPolicies/UserRigthsAssignment/Log on as a service for the user who should install and start the service. You can start the Group Policy Editor with the command gpedit.msc in the

[WiX-users] Getting install folder after install was done

2007-03-01 Thread Ricardo Lopes
Hi, Is there any way of getting the location were the application was installed after the msi finishes, is it stored on the registry or any other way? I guess the msi stores this somewhere, so it can know if it has to do an install or can do a repair / remove. I know i can easily store this on

Re: [WiX-users] Getting install folder after install was done

2007-03-01 Thread Julien R.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\ProductID InstallLocation value Ricardo Lopes-3 wrote: Hi, Is there any way of getting the location were the application was installed after the msi finishes, is it stored on the registry or any other way? I

Re: [WiX-users] Getting install folder after install was done

2007-03-01 Thread Ricardo Lopes
Thanks, For some strange reason this value is empty, but the other values like DisplayName, Publisher, etc. are ok. This also happends on some other applications i have installed. Any ideas? Ricardo Lopes. On 01/03/07, Julien R. [EMAIL PROTECTED] wrote:

[WiX-users] Setting attributes to folder

2007-03-01 Thread Ricardo Lopes
Hi, Is it possible to set attributes (read-only, hidden, system) to a folder the same way they are applied to a file on Wix2. I look at the Wix Schema and didn't find anything on the Directory Element. Thanks. Ricardo Lopes

Re: [WiX-users] Getting install folder after install was done

2007-03-01 Thread Julien R.
You need to add a Custom Action with property ARPINSTALLATION Read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1257230SiteID=1 Ricardo Lopes-3 wrote: Thanks, For some strange reason this value is empty, but the other values like DisplayName, Publisher, etc. are

Re: [WiX-users] Setting attributes to folder

2007-03-01 Thread Julien R.
There is no way to do it using MSI core functionnalities, you will have to code a deferred custom action for it. But be very careful, if you set a folder to read only, uninstaller may be unable to remove it. Ricardo Lopes-3 wrote: Hi, Is it possible to set attributes (read-only, hidden,

[WiX-users] How to insert Hyperlink/URL in MSI UI text

2007-03-01 Thread Manikyam Bavandla
Hi All I want to show some text in MSI UI, like Click here for more detailshttp://sharepoint/sites/wix/default.aspx , so that user can click this text for more details. How to show an URL in MSI UI text control? I mean, which WIX control is suitable for showing hyperlink embedded text in MSI

Re: [WiX-users] How to insert Hyperlink/URL in MSI UI text

2007-03-01 Thread Levi Wilson
AFAIK there is no support for that in the Windows Installer On 3/1/07, Manikyam Bavandla [EMAIL PROTECTED] wrote: Hi All I want to show some text in MSI UI, like Click here for more detailshttp://sharepoint/sites/wix/default.aspx, so that user can click this text for more details. How

[WiX-users] FYI Patchproblem Error 1328

2007-03-01 Thread m . rothe
Hi, The last days, i´ve got a problem with a patch, which won´t work anymore from one to another build. I´ve spend 2 days to find out and solve this problem, so i wan´t to let you know about, just for the case anyone will run into the same problem. It gives an error 1328 and told me that the

Re: [WiX-users] How to insert Hyperlink/URL in MSI UI text

2007-03-01 Thread Rob Hamflett
I think your best option is to create a custom action for it and attach it to a button. Rob Levi Wilson wrote: AFAIK there is no support for that in the Windows Installer On 3/1/07, *Manikyam Bavandla* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All I want

[WiX-users] Conditional feature properties...

2007-03-01 Thread Carl Quirion
My installer installs our software suite, which is a 4 product suite. Using a CustomAction DLL, i validate the provided serial number and set properties that tells me which product can be installed. I would like to have my feature tree modified by that, so that uneligible products arent showed.

Re: [WiX-users] Getting install folder after install was done

2007-03-01 Thread Jeff Paulsen
Julien R. wrote: You need to add a Custom Action with property ARPINSTALLATION Read this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1257230SiteID=1 So that would look something like: CustomAction Id=MyInstallLocation Property=ARPINSTALLLOCATION Value=INSTALLDIR / And I

Re: [WiX-users] Create new IIS WebSite

2007-03-01 Thread cosmo51
Thank you for your reply. Your were right... it should be working. I figured out the problem was a bug with wix. I am using an early version 2.0.4415.0. So i just replaced the effected dll (sca*.dll and scawix.dll) with an even early version (3309) where it was working. Having said that,

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

2007-03-01 Thread Bob Arnson
Mike Dimmick wrote: Bizarrely, the MSI format will permit you to put more data in a field than the 'schema' permits (MSI really being based on a loosely-structured property database, not a strict SQL- or Access-like database). That's where the error comes from. On a related

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

2007-03-01 Thread Bob Arnson
Tobias Bengtsson wrote: They are like this (from the top of my head): Feature Id=Feature1etc... Level=3 ComponentRef Id=...whatever../ Condition Level=1POSSERVER = 1/Condition /Feature Using feature conditions like that isn't going to work. The problem is that the UI sequence

Re: [WiX-users] starting service on install

2007-03-01 Thread Bob Arnson
Lindsay Harris wrote: I have a service I am installing (that part is working fine), but when I try to start it on install I am getting a Error 1920. Service 'AgpmEXEInstall' (AgpmEXEInstall) failed to start. Verify that you have sufficient privileges to start system services. error.

Re: [WiX-users] merge module that conditionally installs a component

2007-03-01 Thread Bob Arnson
John Lalande wrote: Directory Id='TARGETDIR' Name='SourceDir' Directory Id='ACTPATH' Name='ActDir' Directory Id='PluginsDir' Name='Plugins' Component Id='Plugin' Guid='31A99920-6E0A-4e31-B569-180D46439930' File Id='NHPlugindll' Name='NHPlugin.dll'

Re: [WiX-users] Changing registry IDs across product versions

2007-03-01 Thread Bob Arnson
Tina Basinger wrote: We need to change these (or find another workaround) because we are trying to update to a new version of Wix, Short answer: Don't do that, not for patching. Patches should be built with the same version of whatever tools you used to generate the baseline product.

Re: [WiX-users] Conditional feature properties...

2007-03-01 Thread Bob Arnson
Carl Quirion wrote: My FeatureTree shows up and every products are visible, when i was expecting product3 to be invisible. Whats wrong? You probably need to sequence your CA before the CostFinalize action; that's when MSI queries the Condition condition_table.htm table to determine which

Re: [WiX-users] Upgrade product

2007-03-01 Thread Bob Arnson
Art_Z wrote: It is necessary to update a product, thus using catalogues which were selected the user at the last installation. What do you mean by catalogues? -- sig://boB http://bobs.org - Take Surveys. Earn

Re: [WiX-users] starting service on install

2007-03-01 Thread Rob Mensching
Note: The User CustomAction in WiX v2 (not WiX v3, yet) supports the Start Services privilege now. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Hamflett Sent: Thursday, March 01, 2007 1:16 AM To: wix-users@lists.sourceforge.net Subject: Re:

Re: [WiX-users] Setting attributes to folder

2007-03-01 Thread Rob Mensching
Why do you want to do something like that? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Lopes Sent: Thursday, March 01, 2007 4:57 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Setting attributes to folder Hi, Is it possible to set attributes (read-only,

Re: [WiX-users] Create new IIS WebSite

2007-03-01 Thread david adams
If replacing the dll corrected your problem (and you were using the current codebase / binary drop), then I suspect that a bug has been reintroduced. It was fixed a couple of months back. The error that was occurring was an array buffer overflow in the SCA dll when it read the IIS metadata.

Re: [WiX-users] Create new IIS WebSite

2007-03-01 Thread Rob Mensching
Please, try the latest WiX v2 drops (http://wix.sourceforge.net/releases). All of these bugs should be fixed there. We're getting close to zero bugs in WiX v2 so it would be helpful if people started picking up the weekly drops of WiX v2 to help us ensure nothing regresses. -Original

Re: [WiX-users] Setting attributes to folder

2007-03-01 Thread Ricardo Lopes
I want a folder to be hidden to prevent stupid users from doing stupid things like deleting files ;-) I bet i can find dozens of folders with the attributes set on your computer. On 01/03/07, Rob Mensching [EMAIL PROTECTED] wrote: Why do you want to do something like that? *From:* [EMAIL

Re: [WiX-users] Getting install folder after install was done

2007-03-01 Thread Julien R.
Schedule it after InstallValidate in the InstallExecuteSequence You should put [INSTALLDIR] inside [] as it is a property. Jeff Paulsen wrote: Julien R. wrote: You need to add a Custom Action with property ARPINSTALLATION Read this thread:

Re: [WiX-users] Upgrade product

2007-03-01 Thread Art_Z
Sorry. catalogue-Directory. I'm solved this problem.(Using ComponentSearch) Bob Arnson-3 wrote: Art_Z wrote: It is necessary to update a product, thus using catalogues which were selected the user at the last installation. What do you mean by catalogues? -- sig://boB

Re: [WiX-users] Conditional feature properties...

2007-03-01 Thread Carl Quirion
From my understanding, CostFinalize is done before any UI is shown... however my CA validats a serial number entered by the user. I can't launch my CA before the user enter his serial number, that wouldnt make any sense, hehe. Can re-order the sequence so that CostFinalize is only called after

[WiX-users] Patch generation resulting in Error

2007-03-01 Thread Mike Poulson
When I run msimsp against my wix3 generated pcp I get the following error. Does anyone know any reason for this? INFO: Phase III: Entering Prepare Files. ERROR: Cannot create folder: 'C:\DOCUME~1\user\LOCALS~1\Temp\~pcw_tmp.tmp\Patch'. ERROR: The Last Error Received is: 183

Re: [WiX-users] merge module that conditionally installs a component

2007-03-01 Thread John Lalande
Updating the merge module code as you explained works perfectly. Thanks for that! I would like to further enhance this merge module such that if a user later installs Act, then they run a Repair, it will install this component. I suspect that this isn't possible as a Repair is simply repairing

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

2007-03-01 Thread Tobias Bengtsson
Hi, that makes sense.. how do one go about to use explicit AddLocal controls? can't recall to have seen the use of it in the great tutorial by Gabór. Regards Tobbe Från: Bob Arnson [mailto:[EMAIL PROTECTED] Skickat: to 2007-03-01 17:03 Till: Tobias

Re: [WiX-users] Conditional feature properties...

2007-03-01 Thread Carl Quirion
Ok, i found a simple way to do it, im calling CostFinalize on the PushButton of my Next button, on the serial number form. Example: Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17 Default=yes Text=amp;Next Publish Event=DoAction Value=CheckingPID1/Publish