[WiX-users] Executing Multiple Sql scripts

2007-08-10 Thread chetan1983
Hi All, I need to run multiple sql scripts from wix which will crate multiple databases. I wrote following code to accomplish the above task Component Id=SQLComponent Guid=C50999A0-02FD-42d5-9F65-7375318DD328 sql:SqlDatabase Id=DB Database=DB1 Server=localhost CreateOnInstall=yes

Re: [WiX-users] heat switches, and other exe's

2007-08-10 Thread Bob Arnson
koawmfot wrote: also, specifically with heat, i would like to be able to not seperate every componet into a fragment. Use -sfrag. when capturing large directories, it is very tedious to add every component created to a feature, and it is not possible to create a componentgroup when

Re: [WiX-users] Stop service with checkbox

2007-08-10 Thread Bob Arnson
Anton Filippov wrote: How to stop service (local windows service - ICS Name=SharedAccess) if user set some checkbox throght standart wix script (not in custom action)? Put the ServiceControl in another Component. Then you can conditionalize that component or put it in a separate feature

Re: [WiX-users] Publish Property functionality change b/w Wix 2 and 3?

2007-08-10 Thread Bob Arnson
Steve S wrote: The behavior I expect (and had before) is that the WIXUI_INSTALLPRIVILEGES gets set for the next screen to LocalMachine or CurrentUser based on Privileged. The behavior I now get is that the Next button doesn't do anything, as if it's disabled entirely :| No changes that I

Re: [WiX-users] Register COM dll

2007-08-10 Thread Bob Arnson
Ahn Ahn Liu wrote: I attached procmon to see what the actual changes were to the registry and the big difference is that the generated msi installs not to HKCR but HKCU/Software Classes. This is documented as the correct behavior in

[WiX-users] heat switches, and other exe's

2007-08-10 Thread koawmfot
searching around i found that the -gg switch when passed to heat generates GUIDs for each component. this is a very nice little feature, and i wonder why it is undocumented with the /?. i was wondering if there are other undocumented switches for heat, as well as undocumented switches for the

[WiX-users] How to install new features components in a minor upgrade

2007-08-10 Thread Frederic Mokren
I'm discovering that if my minor upgrade has new components, which should be allowed, that the new components don't get installed when installed when using REINSTALL=ALL REINSTALLMODE=vomus. Is there a method to perform a reinstall and also get the new components to install with a minor

Re: [WiX-users] Publish Property functionality change b/w Wix 2 and 3?

2007-08-10 Thread Steve S
No changes that I know of but you show only the two property-setting Publish elements -- how are you handling the NewDialog or other UI in the button? Thanks for the response Bob. I was actually specifying the dialog contols elsewhere: UI Id=UI_SelectDir ... Publish Dialog=WelcomeDlg

Re: [WiX-users] heat switches, and other exe's

2007-08-10 Thread Schrieken, Rene
You can run this xslt sheet to create the ComponentRefs (with your xslt processor of choice, I use VS2005, :-) ) I did not try it yet with WixV3.0. I changed the stylesheet tag for the xmlns:wix attribute to match the wixv3.0 namespace but did not test it. ?xml version=1.0 encoding=utf-8?

Re: [WiX-users] Executing Multiple Sql scripts

2007-08-10 Thread Schrieken, Rene
I would verify your speculation by running sql server profiler during install From: [EMAIL PROTECTED] on behalf of chetan1983 Sent: Fri 8/10/2007 19:16 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Executing Multiple Sql scripts Hi All, I need to

Re: [WiX-users] Registry permissions query

2007-08-10 Thread Callum Hibbert
Hello, I resolve this issue. In case anyone is searching a mail archive somewhere here is the answer. The issue revolves around the HKEY_CLASSES_ROOT section of the Registry. This doesn't actually exist and is a merge of the HKLM/Software/Classes and HKCU/Software/Classes sections. In my WiX

Re: [WiX-users] Run program after installation

2007-08-10 Thread Richard.Foster
John, Glad to hear you sorted it out (even if the solution is arguably less than optimal - but at least it's a solution). I'm still going to try and work out what the sample in the documentation *should* be, since sooner or later I'll need it myself! :-) Regards, Richard

[WiX-users] Registry permissions query

2007-08-10 Thread Callum Hibbert
Hello, I am writing an installer with WiX to install a couple of Custom Adapters for BizTalk. I have manually installed the adapters successfully, using the WiX installer I am having one problem relating to the permissions on the registry keys. The adapters need a number of registry settings.

Re: [WiX-users] HKLM - purposely persistent

2007-08-10 Thread Stefan Pavlik
If the component is marked as Permanent then it will not be removed during uninstall. If the key is still removed there must be something different that removes it. Check the verbose log of the installer. msiexec /x Package.msi /l*v Msilog.log regards Stefan Simon Topley wrote: Thanks for

[WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Pierson Lee (Volt)
I am currently installing 4 sites packaged with WiX. I have it installing app_pools, sites and the necessary files and file structures with each of these 4 on the same server. I noticed some weird behavior today, particularly in uninstallation. When I go to uninstall one of my sites, its not

[WiX-users] Condition and IniFileSearch

2007-08-10 Thread Ansuya Negi
Hi, I try to read Check.ini file, which lies in Windows directory, and need to check the value of KeyVersion, i.e., Test. I try to write custom action for this, but it is giving error. The file is: [RegTest] Name=Check KeyVersion=Test In WiX, Property Id=SEARCH_INI IniFileSearch

Re: [WiX-users] Registry permissions query

2007-08-10 Thread Bob Arnson
Callum Hibbert wrote: In my WiX script I was writing to HKEY_CLASSES_ROOT which effectively wrote to the HKCU/Software/Classes That means your product is set to install per-user. If you're writing per-machine data (such as HKLM), you should set the ALLUSERS property to 1 to indicate you have

[WiX-users] util:XmlConfig Problem, Possible WixUtilExtension Bug?

2007-08-10 Thread Julie Campbell
I'm trying to write the WiX v3 code to modify an XML file in my installation. The goal is to add elements, but instead an existing element gets changed. I stripped this problem down to the bare minimum and zipped it up to be buildable (.wxs, .bat, 2 very small source files):

[WiX-users] Location of WixUI_es-es.wxl

2007-08-10 Thread Gonzalo Diethelm
Hello,After asking the list, I have decided to stick to WiX v2 for my project. However, I have not been able to find the WixUI_es-es.wxl file to localize the installer to Spanish. I downloaded the binary and source packages (v 2.0.5325) but the file is not there. Any hints?Thanks in advance and

Re: [WiX-users] Check .NET version and bootstrapper

2007-08-10 Thread Bob Arnson
Ansuya Negi wrote: Then I need to install .NET framework accordingly. As suggested by some posts, I tried using bootstrapper dotNetInstaller. However this just gives us an option, whether we want to install .NET or not. The condition check that we have .NET comes after this in .msi file. Is it

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Mike Dimmick
WiX only looks at the combination of IP address(es), port number, and Host header. If any of those have been changed post-installation, the custom action may either not uninstall or uninstall the wrong site. The problem here is that IIS's metabase schema does not offer anywhere for WiX to put

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread david adams
We overcome this issue by setting the install IP address to a property value. The property value is set (for default purposes) within the WiX file; however, we have added a custom dialog that allows the Install User to override the property value with a User-input one. Whether the default

Re: [WiX-users] How to install new features components in a minorupgrade

2007-08-10 Thread Mike Dimmick
You are not allowed to change the make-up of a feature in a minor upgrade. You must add your new components to a new feature. You can make that feature a child of an existing feature and set the new child feature to follow its parent's installation state - set Feature/@InstallDefault to

Re: [WiX-users] Auto-incremented versions

2007-08-10 Thread Mike Dimmick
I'd look at divorcing the assembly version information from the file version information. Use the AssemblyFileVersion property to set the file's version. If you're installing to the GAC then you need to use the -fv switch with light to ensure that the new file overwrites the old file in the GAC.

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Pierson Lee (Volt)
The issue I have with this is that I'm not making any changes. I install, then uninstall (testing the deployment) and all I do Is the install, then the uninstall and still it does the same thing. Any other ideas maybe? From: Mike Dimmick [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Mike Dimmick
As I said, because it doesn't remember the ID number. It's trying to look up which one to uninstall based on those three properties: IP, port, and host header. Another case where it gets confused is if you have another site with the same properties which is disabled. -- Mike Dimmick

Re: [WiX-users] Publish Property functionality change b/w Wix 2 and 3?

2007-08-10 Thread Bob Arnson
Steve S wrote: UI Id=UI_SelectDir ... Publish Dialog=WelcomeDlg Control=Next Event=NewDialog Value=EulaDlg/ ... /UI Floating Publish elements will need an explicit Order attribute. Also, the condition (body text) must be explicitly set to 1; a null condition works only if there

Re: [WiX-users] Location of WixUI_es-es.wxl

2007-08-10 Thread Bob Arnson
Gonzalo Diethelm wrote: After asking the list, I have decided to stick to WiX v2 for my project. However, I have not been able to find the WixUI_es-es.wxl file to localize the installer to Spanish. I downloaded the binary and source packages (v 2.0.5325) but the file is not there. Any

Re: [WiX-users] Referencing a property for an Integer value

2007-08-10 Thread Bob Arnson
Karthik Krishnan wrote: I'm trying to create an application pool using : iis:WebAppPool Id=CustomAction.WebAppPool Name=[WEBAPPPOOLNAME] Identity=networkService VirtualMemory=[WEBVIRTUALMEMORY] PrivateMemory=0 RecycleMinutes=0 IdleTimeout=0/, but I'm getting an error telling me (obviously)

Re: [WiX-users] Condition and IniFileSearch

2007-08-10 Thread Bob Arnson
Ansuya Negi wrote: I try to read Check.ini file, which lies in Windows directory, and need to check the value of KeyVersion, i.e., Test. I try to write custom action for this, but it is giving error. What error? -- sig://boB http://joyofsetup.com/