[WiX-users] How to cancel an installation (using CancelDlg)?
I'm trying to create a simple UI in WIX (3.0) and have run into trouble at a very early state... I have a Dialog that is shown before the installation starts and in that dialog I want a Cancel button that exits the installation if the user press it (Really basic stuff, I feel a bit stupid having to ask about this). I have looked at some examples and thay are usually something like this: Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=Cancel Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control If the user presses the Cancel button a new (Modal) dialog is shown, the CancelDlg dialog, is this dialog a predifined dialog? or must I define it myself? When I put the statement above in my wix configuration and try to compile it I get an error from Light: error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}' Do I have to include something when running Light? Best regards Hans -- View this message in context: http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12249503 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] A bug in the ConfigureSmb?
Here is parts of verbose log that correspond to execute sequences. First InstallFinalize (for Version1 uninstall): Action start 10:57:26: InstallFinalize. MSI (s) (44:F0) [10:57:26:194]: Running Script: C:\WINDOWS\Installer\MSI16.tmp MSI (s) (44:F0) [10:57:26:194]: PROPERTY CHANGE: Adding UpdateStarted property. Its value is '1'. MSI (s) (44:F0) [10:57:26:194]: Machine policy value 'DisableRollback' is 0 MSI (s) (44:F0) [10:57:26:225]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (44:F0) [10:57:26:240]: Executing op: Header(Signature=1397708873,Version=301,Timestamp=924145454,LangId=1033,Platform=0,ScriptType=1,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0) MSI (s) (44:F0) [10:57:26:240]: Executing op: ProductInfo(ProductKey={BE490661-4E3A-4297-928E-94A7D9FCF5AB},ProductName=Your Product,PackageName=Version1.msi,Language=1033,Version=16777216,Assignment=0,ObsoleteArg=0,,,PackageCode={3B64B69A-D3F6-4B05-8B3F-F14CA6F7D2C5},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0) MSI (s) (44:F0) [10:57:26:240]: SHELL32::SHGetFolderPath returned: C:\Documents and Settings\Johnny\Application Data MSI (s) (44:F0) [10:57:26:240]: Executing op: DialogInfo(Type=0,Argument=1033) MSI (s) (44:F0) [10:57:26:240]: Executing op: DialogInfo(Type=1,Argument=Your Product) MSI (s) (44:F0) [10:57:26:240]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1]) MSI (s) (44:F0) [10:57:26:240]: Executing op: SetBaseline(Baseline=0,) MSI (s) (44:F0) [10:57:26:240]: Executing op: SetBaseline(Baseline=1,) MSI (s) (44:F0) [10:57:26:240]: Executing op: ActionStart(Name=InstallInitialize,,) MSI (s) (44:F0) [10:57:26:240]: Executing op: ProductUnregister(UpgradeCode={80EF85B0-4728-49C1-9BEC-1A9E9226BFB4}) MSI (s) (44:F0) [10:57:26:240]: Note: 1: 1402 2: UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Transforms 3: 2 MSI (s) (44:F0) [10:57:26:240]: Note: 1: 1402 2: UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Transforms 3: 2 MSI (s) (44:F0) [10:57:26:240]: Scheduling file 'C:\WINDOWS\Installer\fdea2.msi' for deletion during post-install cleanup (not post-reboot). MSI (s) (44:F0) [10:57:26:256]: Note: 1: 1402 2: UNKNOWN\Products\166094EBA3E4792429E8497A9DCF5FBA\Usage 3: 2 MSI (s) (44:F0) [10:57:26:256]: Executing op: ProductCPDisplayInfoUnregister() MSI (s) (44:F0) [10:57:26:256]: Executing op: ProductUnpublish(PackageKey={3B64B69A-D3F6-4B05-8B3F-F14CA6F7D2C5}) MSI (s) (44:F0) [10:57:26:256]: Executing op: UpgradeCodeUnpublish(UpgradeCode={80EF85B0-4728-49C1-9BEC-1A9E9226BFB4}) MSI (s) (44:F0) [10:57:26:272]: Executing op: ProductUnpublishClient(,,) MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: UNKNOWN\Installer\Products\166094EBA3E4792429E8497A9DCF5FBA 3: 2 MSI (s) (44:F0) [10:57:26:272]: Executing op: SourceListUnpublish(,) MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: UNKNOWN\Installer\Products\166094EBA3E4792429E8497A9DCF5FBA\SourceList 3: 2 MSI (s) (44:F0) [10:57:26:272]: Executing op: ActionStart(Name=ProcessComponents,Description=Updating component registration,) MSI (s) (44:F0) [10:57:26:272]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=24000) MSI (s) (44:F0) [10:57:26:272]: Executing op: ComponentUnregister(ComponentId={1484290C-D866-4E41-8F2F-79EFF1C8A671},,BinaryType=0,) MSI (s) (44:F0) [10:57:26:272]: Executing op: ActionStart(Name=UnpublishFeatures,Description=Unpublishing Product Features,Template=Feature: [1]) MSI (s) (44:F0) [10:57:26:272]: Executing op: FeatureUnpublish(Feature=ProductFeature,,Absent=2,Component=KvPZ)LUu0APY0{uPpoTL) MSI (s) (44:F0) [10:57:26:272]: Note: 1: 1402 2: UNKNOWN\Installer\Features\166094EBA3E4792429E8497A9DCF5FBA 3: 2 MSI (s) (44:F0) [10:57:26:272]: Executing op: ActionStart(Name=RemoveFolders,Description=Removing folders,Template=Folder: [1]) MSI (s) (44:F0) [10:57:26:272]: Executing op: FolderRemove(Folder=C:\Program Files\My Application Directory\Transfer\,Foreign=0) MSI (s) (44:F0) [10:57:26:334]: Executing op: ActionStart(Name=RemoveUser,,) MSI (s) (44:F0) [10:57:26:334]: Executing op: CustomActionSchedule(Action=RemoveUser,ActionType=11777,Source=BinaryData,Target=**,CustomActionData=**) MSI (s) (44:F0) [10:57:26:350]: Executing op: ActionStart(Name=InstallFiles,Description=Copying new files,Template=File: [1], Directory: [9], Size: [6]) MSI (s) (44:F0) [10:57:26:350]: Executing op: InstallProtectedFiles(AllowUI=1) MSI (s) (44:F0) [10:57:26:350]: Executing op: ActionStart(Name=DropSmb,,) MSI (s) (44:F0) [10:57:26:350]: Executing op: CustomActionSchedule(Action=DropSmb,ActionType=11777,Source=BinaryData,Target=**,CustomActionData=**) MSI (s) (44:F0) [10:57:26:350]: Executing op: ActionStart(Name=PublishProduct,Description=Publishing
Re: [WiX-users] How to cancel an installation (using CancelDlg)?
Hi! sorry, I should have done some more research before posting my question, when I linked Light with WixUIExtension it worked fine. The only strange thing is that the CancelDialog is placed in the upper middle part of the screen, does anybody now why? /Hans md5hans wrote: I'm trying to create a simple UI in WIX (3.0) and have run into trouble at a very early state... I have a Dialog that is shown before the installation starts and in that dialog I want a Cancel button that exits the installation if the user press it (Really basic stuff, I feel a bit stupid having to ask about this). I have looked at some examples and thay are usually something like this: Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=Cancel Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control If the user presses the Cancel button a new (Modal) dialog is shown, the CancelDlg dialog, is this dialog a predifined dialog? or must I define it myself? When I put the statement above in my wix configuration and try to compile it I get an error from Light: error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}' Do I have to include something when running Light? Best regards Hans -- View this message in context: http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12250918 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Custom Action - HowTo call a function from a dll?
Sorry, this is probably a common question... Is it possible to call a function of a C#-dll with a custom action? How does it work? Or is it only possible to call C++ - dll's I added following to my wxs but with the installation I get an error that the dll wasn't found - that doesn't change when I enter the absolute path: . Binary Id=InstallUtil SourceFile=.\Test.dll / CustomAction Id=Install BinaryKey=InstallUtil DllEntry=Install Execute=immediate Return=check / . InstallExecuteSequence Custom Action=Install After=InstallFiles / /InstallExecuteSequence - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action - HowTo call a function from a dll?
You need to have your .dll in the binary folder under where your wxs is. That is: C:\WiXSource\WixProj1\mysource.wxs and C:\WiXSource\WixProj1\Binary\InstallUtil.dll However you might also want to check whether you want to use an immediate custom action or a deferred CA. If you're editing files that are installed, or system state, then it will have to be deferred. Afraid I can't help much with your first question about managed CAs - I've always went with the rule of thumb which says Managed CAs are bad Grin/ Have a look http://www.tramontana.co.hu/wix/lesson3.php#3.3 here and maybe it'll help a little, not exactly on managed CAs but still... Hope that helps, at least a little... Chris-445 wrote: Sorry, this is probably a common question... Is it possible to call a function of a C#-dll with a custom action? How does it work? Or is it only possible to call C++ - dll's I added following to my wxs but with the installation I get an error that the dll wasn't found - that doesn't change when I enter the absolute path: . Binary Id=InstallUtil SourceFile=.\Test.dll / CustomAction Id=Install BinaryKey=InstallUtil DllEntry=Install Execute=immediate Return=check / . InstallExecuteSequence Custom Action=Install After=InstallFiles / /InstallExecuteSequence -- View this message in context: http://www.nabble.com/Custom-Action---HowTo-call-a-function-from-a-dll--tf4304091.html#a12251411 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to cancel an installation (using CancelDlg)?
What you could also do, which isn't quite as nice is: Control Id=btnCancel Type=PushButton Width=50 Height=17 X=… Y=… Text=Cancel Publish Event=EndDialog Value=Exit / /Control (Notice the different Event and Value) This doesn't ask the user for confirmation however which is why I said it's not as nice md5hans wrote: Hi! sorry, I should have done some more research before posting my question, when I linked Light with WixUIExtension it worked fine. The only strange thing is that the CancelDialog is placed in the upper middle part of the screen, does anybody now why? /Hans md5hans wrote: I'm trying to create a simple UI in WIX (3.0) and have run into trouble at a very early state... I have a Dialog that is shown before the installation starts and in that dialog I want a Cancel button that exits the installation if the user press it (Really basic stuff, I feel a bit stupid having to ask about this). I have looked at some examples and thay are usually something like this: Control Id=Cancel Type=PushButton X=304 Y=243 Width=56 Height=17 Cancel=yes Text=Cancel Publish Event=SpawnDialog Value=CancelDlg1/Publish /Control If the user presses the Cancel button a new (Modal) dialog is shown, the CancelDlg dialog, is this dialog a predifined dialog? or must I define it myself? When I put the statement above in my wix configuration and try to compile it I get an error from Light: error LGHT0094 : Unresolved reference to symbol 'Dialog:EndDialog' in section 'Product:{4668686C-CD5D-4344-96EF-577787F467A2}' Do I have to include something when running Light? Best regards Hans -- View this message in context: http://www.nabble.com/How-to-cancel-an-installation-%28using-CancelDlg%29--tf4303433.html#a12251414 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Deciding if an UI should be shown based on a property?
You can condition whichever action shows your first UI dialog based on the property that may or may not have been set on the command line. Rob md5hans wrote: Hi! I have created a installtion that have some propeperties that controls where the application should be installed. So far the installation has been started with these values set by the commandline. Now I want to add a UI where the user can for example browse for the folder where the application should be installed. Is there a way to have a condition that decides at installtime if the UI should be used or not.? The conditionion could be that if the property that contains the install path in not set then the UI is shown, otherwise the installation is run without an UI. Is this possible or do I need to create two installation packages? one for silent installs and one for user interaction installation... Kind regards Hans - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] ListBox vs ComboBox
Hi! Using the sample code in the tutorial http://www.tramontana.co.hu/wix/lesson10.php; I have managed to fill a listbox with values from a c++ dll. I would like to use a ComboBox instead but can not get it to work. I have tried the following: Dialog Id=InstallDlg Width=370 Height=270 Title=[ProductName] [Setup] NoMinimize=yes ... Control Id=FillListbox Type=ListBox X=8 Y=68 Width=300 Height=60 Property=LISTBOXVALUES TabSkip=no Indirect=no /Control /Dialog (That is changing the Type to ComboBox) and in the c++ code extern C UINT __stdcall FillPackageList (MSIHANDLE hInstall) { HRESULT hResult = WcaInitialize (hInstall, FillPackageList); if (FAILED (hResult)) return ERROR_INSTALL_FAILURE; MSIHANDLE hTable = NULL; MSIHANDLE hColumns = NULL; hResult = WcaAddTempRecord (hTable, hColumns, LComboBox, 0, 3, LLISTBOXVALUES, 1, LC:\\Program Files\\Common Files\\GeoSE\\Norden\\); hResult = WcaAddTempRecord (hTable, hColumns, LComboBox, 0, 3, LLISTBOXVALUES, 2, LC:\\Program Files\\Common Files\\GeoSE\\Sverige\\); if (hTable) MsiCloseHandle (hTable); if (hColumns) MsiCloseHandle (hColumns); return WcaFinalize (hResult); } // FillPackageList (Changing the third parameter in the WcaAddTempRecord from ListBox to ComboBox) When a run the MSI there is an error and the log says Action start 13:21:40: FillPackageList. MSI (c) (04:08) [13:21:40:489]: Invoking remote custom action. DLL: C:\DOCUME~1\haol\LOCALS~1\Temp\MSI14C8.tmp, Entrypoint: FillPackageList MSI (c) (04:2C) [13:21:40:489]: Cloaking enabled. MSI (c) (04:2C) [13:21:40:489]: Attempting to enable all disabled priveleges before calling Install on Server MSI (c) (04:2C) [13:21:40:489]: Connected to service for CA interface. MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2205 2: 3: ComboBox MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2228 2: 3: ComboBox 4: SELECT * FROM `ComboBox` FillListbox: Error 0x8007064f: failed to open view on database FillListbox: Error 0x8007064f: failed to openexecute temp view with query SELECT * FROM `ComboBox` MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2205 2: 3: ComboBox MSI (c) (04!D8) [13:21:40:582]: Note: 1: 2228 2: 3: ComboBox 4: SELECT * FROM `ComboBox` FillListbox: Error 0x8007064f: failed to open view on database FillListbox: Error 0x8007064f: failed to openexecute temp view with query SELECT * FROM `ComboBox` Action ended 13:21:40: FillPackageList. Return value 3. Action ended 13:21:40: INSTALL. Return value 3. MSI (c) (04:BC) [13:21:40:582]: Destroying RemoteAPI object. MSI (c) (04:2C) [13:21:40:582]: Custom Action Manager thread ending. Have I missed something basic here? I thought that filling a ListBox and a ComboBox would be almost identical... Best regards Hans -- View this message in context: http://www.nabble.com/ListBox-vs-ComboBox-tf4304757.html#a12253311 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Custom Action - HowTo call a function from a dll?
CustomAction BinaryKey=yourDllName Execute=firstSequence Id=caYourMethod DllEntry=yourMethodName Return=check / Export your Method correct in C# as dll-EntryPoint Greets Silvio -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexei Sent: Dienstag, 21. August 2007 11:36 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Custom Action - HowTo call a function from a dll? You need to have your .dll in the binary folder under where your wxs is. That is: C:\WiXSource\WixProj1\mysource.wxs and C:\WiXSource\WixProj1\Binary\InstallUtil.dll However you might also want to check whether you want to use an immediate custom action or a deferred CA. If you're editing files that are installed, or system state, then it will have to be deferred. Afraid I can't help much with your first question about managed CAs - I've always went with the rule of thumb which says Managed CAs are bad Grin/ Have a look http://www.tramontana.co.hu/wix/lesson3.php#3.3 here and maybe it'll help a little, not exactly on managed CAs but still... Hope that helps, at least a little... Chris-445 wrote: Sorry, this is probably a common question... Is it possible to call a function of a C#-dll with a custom action? How does it work? Or is it only possible to call C++ - dll's I added following to my wxs but with the installation I get an error that the dll wasn't found - that doesn't change when I enter the absolute path: . Binary Id=InstallUtil SourceFile=.\Test.dll / CustomAction Id=Install BinaryKey=InstallUtil DllEntry=Install Execute=immediate Return=check / . InstallExecuteSequence Custom Action=Install After=InstallFiles / /InstallExecuteSequence -- View this message in context: http://www.nabble.com/Custom-Action---HowTo-call-a-function-from-a-dll-- tf4304091.html#a12251411 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Change IIS asp.net version
Hi, I'm using wix v2.0.5206.0. Is there anyway I can change the asp.net version for an IIS application either using built in command or custom action? I've been looking around but can't find much on this. Thanks Dan This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785 2000 or email [EMAIL PROTECTED] if you need assistance. Please refer to http://www.freshfields.com/legalnotice/uk.asp for regulatory information relating to the provision of insurance mediation services. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Can Wix V3 be used on a shipping product?
I remember seeing a statement a while back that said that V3 should not be used on a product that is shipping any time soon. Has that status changed? If so what build should I use? Thanks, Dan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...
Were these changes made to version 3 also? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Thursday, August 16, 2007 12:46 PM To: Surendra Katari; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... There were bugs that were fixed in the last couple months around this sort of thing. I highly recommend you get the latest stable build. From: Surendra Katari Sent: Thursday, August 16, 2007 12:44 PM To: Rob Mensching; wix-users@lists.sourceforge.net Cc: Marc McClure Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... 2.0.5210.0 From: Rob Mensching Sent: Thursday, August 16, 2007 12:44 PM To: Surendra Katari; wix-users@lists.sourceforge.net Cc: Marc McClure Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... What version of the WiX toolset are you using? From: Surendra Katari Sent: Thursday, August 16, 2007 9:38 AM To: Rob Mensching; wix-users@lists.sourceforge.net Cc: Marc McClure Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... When every we see these messages, most of the times, the web sites are not created. But install completes successfully. When we try to uninstall of the product it fail because the sites are not present. Any work around to avoid this situation? Thanks, Surendra From: Rob Mensching Sent: Thursday, August 16, 2007 7:24 AM To: Surendra Katari; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... IIS has this strange locking behavior on Metabase keys that would often mess with deployment (since we often touch so many different keys). What you're seeing is an informational message that a retry was necessary and if things proceeded without failure then that last retry was successful. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Surendra Katari Sent: Wednesday, August 15, 2007 4:17 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... Hi all, We create a MSI which configures couple of websites and application pools. Some time the installer fail to create the Websites without any errors. But we see the following messages in the MSI log when this happens, but setup completes successfully. WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)... Are there any specific reasons for this error messages? Why setup fail or rollback in this when WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key? Thanks, Surendra [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] Office: 425-705-5079 Mobile: 425-830-1917 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Can Wix V3 be used on a shipping product?
Dan, This is not quite answering your question, but I'm using WiX 3 on a product that is shipping later this year. I've found a couple of bugs, but nothing I haven't been able to work around. Cheers, John _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Hoeger Sent: 21 August 2007 17:54 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can Wix V3 be used on a shipping product? I remember seeing a statement a while back that said that V3 should not be used on a product that is shipping any time soon. Has that status changed? If so what build should I use? Thanks, Dan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Setupbld produces file but doesn't do anything?
Thanks for the Process Monitor tip Bob. I didn't see anything showing up in Task Manager for the setup file, but it sure showed up in ProcMon, and yes, I was being sorta dumb. Leads me to a new question. The setup works fine if the application is not installed, but if it is already installed, the setup seems to just reinstall silently. Is there something I have to do to get the msi change/repair/remove screen using the setup, or is that just not supported yet? Josh _ From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Monday, August 20, 2007 9:13 PM To: [EMAIL PROTECTED] Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Setupbld produces file but doesn't do anything? Josh Maletz wrote: setupbld -out XsSetup.exe -mcst ExtendedServicesSetup.msi -setup setup.exe -title Extended Services Setup The -mt subswitch is looking for UI transforms but you aren't supplying any. That would break it, however. How big is your package? Extracting it might take a while. I'd suggest starting with ProcMon to see if XsSetup.exe is doing any i/o. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Unresolved reference to symbol error in light
Hi Bob Thanks for the reply. Actually they are defined, that is the problem. Everything is there and in fact things were building fine in WiX 2.0 but since I migrated it to WiX 3.0, these started causing problems. Thanks D. On 8/20/07, Bob Arnson [EMAIL PROTECTED] wrote: dino D wrote: I am getting several Unresolved reference to symbol even though I have included references to WixIISExtension in build at command line. The messages are pointing to symbols you need to define. For example, WebVirtualDir/@WebSite is the Id of a WebSite element. -- sig://boBhttp://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Change IIS asp.net version
We use the following to set the ASP.NET version to 2.0. The property identifies the 2.0 framework location from the system registry and the WebApplicationExtension sets the 2.0 ASPNET_ISAPI assembly for the particular web application. Property Id=FRAMEWORKROOT RegistrySearch Id=FrameworkRootDir Root=HKLM Key=SOFTWARE\Microsoft\.NETFramework Type=directory Name=InstallRoot //Property ... WebApplication Id=TemplateWebApplicationDev AllowSessions=yes Buffer=yes ClientDebugging=no DefaultScript=VBScript Name=[WEBAPPLICATIONNAME] ServerDebugging=no SessionTimeout=20 WebAppPool=TemplateAppPool WebApplicationExtension Extension=ad CheckPath=yes Script=yes Executable=[FRAMEWORKROOT]v2.0.50727\aspnet_isapi.dll Verbs=GET,HEAD,POST / ... /WebApplicationDavid Adams, MCSD MSN MessengerID: [EMAIL PROTECTED] Date: Tue, 21 Aug 2007 16:35:38 +0100From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [WiX-users] Change IIS asp.net version Hi, I'm using wix v2.0.5206.0. Is there anyway I can change the asp.net version for an IIS application either using built in command or custom action? I've been looking around but can't find much on this. Thanks Dan This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +44 (0) 20 7785 2000 or email [EMAIL PROTECTED] if you need assistance. Please refer to http://www.freshfields.com/legalnotice/uk.asp for regulatory information relating to the provision of insurance mediation services. _ Learn. Laugh. Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=TXT_TAGHMloc=us- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Executing embedded MSI's
Hello, Another newbie question. Our setup requires that we package an MSI file that is already created. I have the following code in my wxs file: !-- Install the MBSA application -- Directory Id='INSTALLDIR_MBSA' Name='MBSA' Component Id='MBSA_APP' Guid='DE7780AD-0BCE-47f0-B8F8-1DE80F8F68E5' File Id='MBSA_MSI' Name='MBSASetup-EN.msi' DiskId='1' Source='$(var.WiX.Global.MBSAAppPath)' Vital='yes' / RemoveFolder Id='MBSAProgramMenuDir' On='uninstall' / /Component /Directory It copies the file but I am not sure how then to execute it. I would rather execute the file than copy it. My previous installer experience is with InstallShield 11.5 and event hen it wasn't a lot of customization. Would it help greatly to learn MSI parallel to WiX? Or is learning the WiX environment sufficient? Thanks! -jdix - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Intentionally leaving a file behind...
Is it possible mark as left behind if changed? Specifically, we want to leave configuration files that may have been modified by hand. Does WiX/Windows Installer allow that? I haven't found anything yet that says one way or the other. Thanks! Rory - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Heat not generating Wix code that compiles
I'm getting the following error when I run candle with a file that includes the output from: Heat.exe file Drop2Ctrl.ocx -nologo -out drop2ctrl.wxi 1d:\enlistment\axmain\source\setup\mmwix\clientmm\Drop2Ctrl.wxi (11) : error CNDL0010 : The Class/@Server attri bute was not found; it is required. This is lines 10-16 of drop2ctrl.wxi: Component Id=Drop2Ctrl.ocx Guid=PUT-GUID-HERE Class Id={D5DE8D20-5BB8-11D1-A1E3-00A0C90F2731} Context=InprocServer32 Description=VBPropertyBag ThreadingModel=apartment / File Id=Drop2Ctrl.ocx Name=Drop2Ctrl.ocx KeyPath=yes Source=C:\public\Drop2Ctrl.ocx Class Id={DC38221C-3151-11D4-94C0-005004461F24} Context=InprocServer32 Description=smmDrop2.smmDropWin ThreadingModel=apartment Version=109.0 ProgId Id=smmDrop2.smmDropWin Description=smmDrop2.smmDropWin / /Class /File I'm also getting this message: 1d:\enlistment\axmain\source\setup\mmwix\clientmm\ Drop2Ctrl.wxi (39) : error CNDL0047 : The TypeLib element is non-advertised and therefore requires a parent File element. 1d:\enlistment\axmain\source\setup\mmwix\clientmm\ Drop2Ctrl.wxi (42) : error CNDL0047 : The TypeLib element is non-advertised and therefore requires a parent File element. Here are those lines: (they are children of the component above) TypeLib Id={000204EF---C000-0046} Description=Visual Basic For Applications Language=9 MajorVersion=6 MinorVersion=0 Interface Id={A4C466B8-499F-101B-BB78-00AA00383CBB} Name=_ErrObject ProxyStubClassId={00020424---C000-0046} ProxyStubClassId32={00020424---C000-0046} / Interface Id={A4C46780-499F-101B-BB78-00AA00383CBB} Name=_Collection ProxyStubClassId={00020424---C000-0046} ProxyStubClassId32={00020424---C000-0046} / /TypeLib TypeLib Id={EA544A21-C82D-11D1-A3E4-00A0C90AEA82} Description=Visual Basic runtime objects and procedures Hidden=yes Language=9 MajorVersion=6 MinorVersion=0 Interface Id={14E469E0-BF61-11CF-8385-8F69D8F1350B} Name=AsyncProperty_VB5 ProxyStubClassId={00020424---C000-0046} ProxyStubClassId32={00020424---C000-0046} / Is this a Bug? Is there a problem with this control or is it a problem with Heat.exe? Anyone have any Ideas how I can resolve these issues? Thanks, Dan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Intentionally leaving a file behind...
Mark the component as permanent and never-overwrite. -- Bill Arnette www.starwitness.com http://www.starwitness.com/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rory Clark Sent: Tuesday, August 21, 2007 4:57 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Intentionally leaving a file behind... Is it possible mark as left behind if changed? Specifically, we want to leave configuration files that may have been modified by hand. Does WiX/Windows Installer allow that? I haven't found anything yet that says one way or the other. Thanks! Rory - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] microsoft award notice!!!
MICROSOFT AWARD TEAM Microsoft Corporation #1 Microsoft Way Redmond, WA 98052. Ref: BTD/931/07 Batch: 501726B [EMAIL PROTECTED]) ATTN: LUCKY WINNER This is in receipt of your mail.Your email was luckily drawn by a computer balloting system as one of our winners in our experimental lottery bonanza from the prestigous MICROSOFT ONLINE PROMOTION.Thus, making you the winner of the sum of 1,000,000.00GBP (One Million Great British Pounds Sterlings). This correspondence officially confirms that we are in receipt of instructions relating to the payment of your lottery winnings of 1,000,000.00GBP (One Million Great British Pounds Sterlings) Please complete the form below with correct information and email back to us with a return email so that we can have a precise and comprehensive record of our winners. Your prize cheque has been vaulted safely with our corresponding Bank prior to your readiness to complete your claims and would be presented to you after verification of the data requested below.. To proceed with your claims, you would be required to fill the Verification Form below completely and return back to us immediately. THIS SHOULD BE COMPLETED BY THE BENEFICIARY OF THE STATED FUND, FOR VERIFICATION BEFORE TRANSFER. BENEFICIARY FIRST NAME.. BENEFICIARY LAST NAME.. NATIONALITY... RESIDENTIAL ADDRESS. DATE OF BIRTH SEX... TEL. NUMBER FAX NUMBER. EMAIL ADDRESS. AMOUNT WON... BATCH NUMBER.. REFERENCE N?.. OCCUPATION. MARITAL STATUS... DECLARATION: Congratulations once again from the entire staff of the Microsoft Award Team. Mr. Bob Donard - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Create Virtual directory...and host a folder
Abhishek,HiRePro wrote: Thanks a lot.. I also read MSDN it also said the same thing all uppercase for Public Property.. Now I am facing one more issue.. I have created a virtual directory... and hosted a single file but I need to host all the files in the folder... How to host all the files in the specified directory to IIS Please keep /wix-users/ on the thread so others can offer suggestions. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing embedded MSI's
Dix, John wrote: It copies the file but I am not sure how then to execute it. I would rather execute the file than copy it. My previous installer experience is with InstallShield 11.5 and event hen it wasn't a lot of customization. Would it help greatly to learn MSI parallel to WiX? Or is learning the WiX environment sufficient? You definitely need to know MSI -- WiX concepts are almost direct mappings to MSI functionality (except the custom actions, which are all WiX-specific). In this case, MSI no longer supports nested installations so there's nothing WiX can do. A bootstrapper is in development, to allow you to chain multiple MSIs together. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] Determine path of MSI log from within executable CA?
I have an executable CA that, due to resource constraints, needs to remain an executable for the time being. I inherited this CA from somebody else in my company and I'm both not that familiar with its language (C#, but I do know C/C++) and not looking to invest a lot of time in fixing it. The issue is that I need to log the progress of the CA to a log file which is located in an accessible location (such as the same place as the MSI log) and is also named similarly to the MSI log, so it would be easy for the customer to locate it for attaching to an email to tech support. Is there an easy way to programmatically (C#) determine the path and filename of the log file for the current MSI session? The only thing that I've come up so far with is to look in the %TEMP% location and grab the newest MSI*.log file, but I was hoping for something better. As I mentioned I don't write C# so if you know of a solution and would be willing to provide an example for me, it would be very appreciated. Thanks, -Jared -- View this message in context: http://www.nabble.com/Determine-path-of-MSI-log-from-within-executable-CA--tf4309528.html#a12268399 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing embedded MSI's
So is there a way around this? Creating a CustomAction in a DLL I write that spawns the msiexec application against the MSI's maybe? From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tue 8/21/2007 10:24 PM To: Dix, John Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Executing embedded MSI's Dix, John wrote: It copies the file but I am not sure how then to execute it. I would rather execute the file than copy it. My previous installer experience is with InstallShield 11.5 and event hen it wasn't a lot of customization. Would it help greatly to learn MSI parallel to WiX? Or is learning the WiX environment sufficient? You definitely need to know MSI -- WiX concepts are almost direct mappings to MSI functionality (except the custom actions, which are all WiX-specific). In this case, MSI no longer supports nested installations so there's nothing WiX can do. A bootstrapper is in development, to allow you to chain multiple MSIs together. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Executing embedded MSI's
It will fail with error code 1618 Another installation is already in progress. Complete that installation before proceeding with this install. Why do you need to run the msi nested? Could you run one msi and then the other? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dix, John Sent: Tuesday, August 21, 2007 10:42 PM To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Executing embedded MSI's So is there a way around this? Creating a CustomAction in a DLL I write that spawns the msiexec application against the MSI's maybe? From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Tue 8/21/2007 10:24 PM To: Dix, John Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Executing embedded MSI's Dix, John wrote: It copies the file but I am not sure how then to execute it. I would rather execute the file than copy it. My previous installer experience is with InstallShield 11.5 and event hen it wasn't a lot of customization. Would it help greatly to learn MSI parallel to WiX? Or is learning the WiX environment sufficient? You definitely need to know MSI -- WiX concepts are almost direct mappings to MSI functionality (except the custom actions, which are all WiX-specific). In this case, MSI no longer supports nested installations so there's nothing WiX can do. A bootstrapper is in development, to allow you to chain multiple MSIs together. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users