Re: [WiX-users] Feature Tree modification based on property.

2010-03-29 Thread Bob Arnson
On 3/29/2010 3:15 AM, Rohit Sharma (SIDC) wrote: Remove control event does not HIDE the feature. It just puts a red-cross in front of the feature and provides user an option to enable it. (Refer Yes, that's true. Like I said, you seem to be wanting features that the selection tree control

[WiX-users] RFC: Dropping the x64 WiX .msi package

2010-03-27 Thread Bob Arnson
We're considering dropping the x64 WiX .msi package as it's rarely needed. See http://www.joyofsetup.com/2010/03/27/wix-msbuild-v2-0-and-x64-systems/ and comment if dropping it would affect you. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Wix 2.0: if some dll file(s) deleted, then we'll get Error 2836 in Repair mode

2010-03-27 Thread Bob Arnson
On 3/26/2010 2:12 PM, little.forest wrote: 2. Those two DLL files will cause 'Error 2836' directly. But the manifest file will cause the installer showing 'The system can not find the file specified.' first then showing the 'Error 2836'. So this is slightly different from those two DLL

Re: [WiX-users] Several Questions - Zip64, Debugging

2010-03-27 Thread Bob Arnson
On 3/27/2010 1:26 AM, Dariel Marlow wrote: 1. Does WIX support MSI files larger than 4GB? MSI doesn't. The schema limits file sizes to 31 bits. -- sig://boB http://joyofsetup.com/ -- Download Intel#174;

Re: [WiX-users] Feature Tree modification based on property.

2010-03-27 Thread Bob Arnson
On 3/26/2010 12:10 AM, Rohit Sharma (SIDC) wrote: So is there no way I can do this, even if I could HIDE the feature in selection tree that would work for me. You can hide a feature by keeping its feature level at 0 or by using the Remove control event. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-25 Thread Bob Arnson
On 3/25/2010 1:46 AM, Michael Osmond wrote: Error 0x80004005: failed to create to database: 80004005 - is Access Denied. That's 0x80040005; 0x80004005 is E_FAIL. -- sig://boB http://joyofsetup.com/ -- Download

Re: [WiX-users] Wix 2.0: if some dll file(s) deleted, then we'll get Error 2836 in Repair mode

2010-03-25 Thread Bob Arnson
On 3/25/2010 7:53 PM, little.forest wrote: DEBUG: Error 2836: The control ChangeButton on the dialog MaintenanceTypeDlg can not take focus The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2836. The

Re: [WiX-users] Feature Tree modification based on property.

2010-03-25 Thread Bob Arnson
On 3/25/2010 3:12 PM, Rohit Sharma (SIDC) wrote: I tried setting INSTALLLEVEL=101 from control event of next button as suggested in comment# 17 from Daniel in Bob's blog to trigger re-evaluation of feature condition but it didn't work for me. I don't think it's documented to work. Feature

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-25 Thread Bob Arnson
On 3/25/2010 1:43 AM, Asiri Wanigarathne wrote: CreateDatabase: Error 0x80004005: failed to create to database: 'TestDatabase', error: unknown error Any error at this point should also have logged additional errors, so I can't explain why you're not seeing them. That said, you're creating a

Re: [WiX-users] Merge Module extracts msm file in target directory

2010-03-25 Thread Bob Arnson
On 3/25/2010 3:11 AM, Johann Taferl, T-AU wrote: Votive automatically generates following line(s): You can change the Harvest property to false to stop automatic harvesting. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Merge Module extracts msm file in target directory

2010-03-24 Thread Bob Arnson
On 3/24/2010 11:54 AM, Johann Taferl, T-AU wrote: I don't know, if this is an error or intended behavior: When I create a simple merge module (in my test with only one file in it) and refer to this merge module, the merge module - and its content - is not extracted to a temporary directory,

Re: [WiX-users] Debug symbol undefined when building using MSbuild

2010-03-24 Thread Bob Arnson
On 3/24/2010 2:03 PM, Inbar, Ron wrote: The Server and Client configurations are distinguishable by the definition of a preprocessor variable named Server through the Build tab in the project property sheet. My nightly build generates all four MSIs using MSBuild. Recently I noticed that

Re: [WiX-users] Why my bootstrap loader always deletes msi file?

2010-03-24 Thread Bob Arnson
On 3/24/2010 10:37 AM, Zhou, Lei wrote: I have created a bootstrap loader (i.e., setup.exe) for MSI. It works fine except it always deletes my .msi file. Why? I have checked all the command line options of msistuff and don't know how turn off this behavior. I just downloaded the bootstrap

Re: [WiX-users] Microsoft HTML Help 1.4 SDK for WiX build

2010-03-24 Thread Bob Arnson
On 3/24/2010 12:23 PM, Oleksandr Y. Nechyporenko wrote: Can anybody give me a link to download Microsoft HTML Help 1.4 SDK which is required to build WiX from sources. I've found article in MSDN http://msdn.microsoft.com/en-us/library/ms669985(VS.85).aspx , but still can't find link to

Re: [WiX-users] Upgrade Table

2010-03-24 Thread Bob Arnson
On 3/24/2010 1:15 PM, Uma Harano wrote: So if I do not want to have upgrades for my installations, how do I author this table? Change your question: So if I do not want to have upgrades for my installations, how do I pass this test? The test case appears to indicate that you must

Re: [WiX-users] Feature Tree modification based on property.

2010-03-24 Thread Bob Arnson
On 3/24/2010 9:21 AM, Rohit Sharma (SIDC) wrote: Condition Level=0![CDATA[FEATURE1 = SUCCESS]]/Condition Condition Level=1![CDATA[FEATURE1 SUCCESS]]/Condition See http://www.joyofsetup.com/2007/05/30/feature-conditions-and-ui/. Feature conditions aren't constantly

Re: [WiX-users] Create MS SQL Server 2008 database during installation.

2010-03-24 Thread Bob Arnson
On 3/22/2010 10:36 PM, Asiri Wanigarathne wrote: My installer fails with following error message: Error – 2147467259. Failed to create SQL database. TestDatabase, error detail: unknown error. There's additional logging before that line that might be helpful to pinpoint the cause. --

Re: [WiX-users] Performance Issues with File table sequencing

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:36 AM, jhennessey wrote: In the end I just wanted to put this out there to raise awareness of the issue and also to see if I should put in a feature request or something. Yes, please. Though we'll need a lot more detail: MSI installs files in order of their sequence, not by

Re: [WiX-users] ICE03: Invalid Language Id for en-MY and en-SG

2010-03-22 Thread Bob Arnson
On 3/21/2010 12:26 AM, WenWu Lu wrote: However, I get error LGHT0204 : ICE03: Invalid Language Id; Table: File, Column: Language, Key(s): enMYResources Likely, ICE03 doesn't know about newer LCIDs. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] MSM compression?

2010-03-22 Thread Bob Arnson
On 3/22/2010 9:40 AM, John Aldridge wrote: It looks as if the MSM is internally compressed, because its size is less than that of the DLLs it contains. This has bad consequences when we try to build a patch for our application and the patch needs to update the installed MSM: the patch comes

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:43 AM, Sanjay Poria wrote: Bob's suggestion of removing the @Cabinet or @EmbedCab attributes to create loose files would work but then every installation file would have to be taken from this loose file structure. You can have multiple Media elements, mixing loose files with

Re: [WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Bob Arnson
On 3/22/2010 9:49 AM, Johann Taferl, T-AU wrote: I tried to create a merge module with a dependency to a second one. WiX doesn't automatically try to find dependent merge modules; it's all explicit via Merge and MergeRef elements. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How to install new Feature during Reinstall?

2010-03-22 Thread Bob Arnson
On 3/22/2010 8:35 AM, Jan Bilek wrote: I've created new Product version installer (minor update) which contains brand-new Feature. When i try to reinstall this new version using REINSTALL and REINSTALMODE properties over the older version, then the new Feature doesn't get installed. See the

Re: [WiX-users] Votive - MergeModule dependency

2010-03-22 Thread Bob Arnson
On 3/22/2010 11:32 AM, Johann Taferl, T-AU wrote: Yes, but in merge modules them self, I can't referece through Merge or MergeRef: Correct, it must be authored in the product. Like I said, WiX doesn't automatically try to find dependent merge modules. -- sig://boB

Re: [WiX-users] MSM compression?

2010-03-22 Thread Bob Arnson
On 3/22/2010 10:53 AM, John Aldridge wrote: so in this case the MSM /is/ the actual file, isn't it? Indeed, that makes a difference.g Merge modules must use an embedded cabinet, per the MSI SDK. WiX doesn't offer explicit control over the compression level in authoring, but the code appears to

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-22 Thread Bob Arnson
On 3/22/2010 6:46 PM, Sanjay Poria wrote: The problem is that when I run the installer, it still expects to find files (doc1, doc2) in the main directory (at the same level as the msi) instead of the DocFiles directory. When building, the installer actually creates the source structure as

Re: [WiX-users] TextStyle

2010-03-20 Thread Bob Arnson
On 3/19/2010 8:28 PM, Szentpali Janos wrote: can someone tell me a way to change font styles on WixUI_FeatureTree dialogs other that re-defining the whole dialog set? You need to recreate the set but you can reuse all the same dialogs. Please feel free to file a feature request; it ought

Re: [WiX-users] UAC, InstallService, verify user account...

2010-03-20 Thread Bob Arnson
On 3/19/2010 8:19 PM, Stryder Crown wrote: AD I think I've isolated it down to a Failed to load assembly Microsoft.Deployment.WindowsInstaller error in the MSI log. That's immediately followed what is probably a useful error code...g -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How do I: Generate a Complete Installer usingCommand-Line Tools

2010-03-20 Thread Bob Arnson
On 3/20/2010 2:35 AM, Lisa Gracias wrote: @Brian: I'm using the same set of components in 3 different products and I need a refcount to be maintained. You don't need to use a merge module for that;

Re: [WiX-users] MaintenanceWelcomeDlg and InstallUISequence

2010-03-18 Thread Bob Arnson
On 3/18/2010 8:06 AM, Oleksandr Y. Nechyporenko wrote: I've assumed that since I haven't published NewDialog event for Next button in PatchWelcomeDlg, and have published EndDialog event with value Return, it will not show MaintenanceWelcomeDlg when I click Next. That's not how it works: It

Re: [WiX-users] Service Control / Service Install Wix 3.0/3.5 ICE03 Error

2010-03-18 Thread Bob Arnson
On 3/18/2010 2:30 PM, Michael Schlitt wrote: ICE03: Invalid identifier; Table: ServiceControl, Column: ServiceControl, Key(s): Build Service (LGHT0204) - C:\Users\mschlitt\Documents\SharpDevelop Projects\SetupProjectService\SetupProjectService\Files.wxs:6 Like it says, you have an

Re: [WiX-users] minor issues with WiX installer gui

2010-03-18 Thread Bob Arnson
On 3/18/2010 10:26 AM, Jacek Pospychała wrote: By any chance, can you tell how to find in log, when a button (e.g. Repair) have been pressed or when did the progress dialog appeared? I'd use the timestamps. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] XmlConfig results in ICE27 failure

2010-03-18 Thread Bob Arnson
On 3/18/2010 8:28 PM, Jacques Eloff wrote: When I tried to build the project, I received the following error: Error 2 ICE27: Action: 'DuplicateFiles' in InstallExecuteSequence table must come after the 'InstallFiles' action. If I add a bogusFile element in the component everything compiles

Re: [WiX-users] Deleting files from all users

2010-03-18 Thread Bob Arnson
On 3/18/2010 12:18 PM, Hoyt, David wrote: We have a program that produces some files (it's a cache of some info. it finds when first run) that have to be deleted when the program is either uninstalled or a new version installed. Thus, when the new version is run, it recreates the cache with

Re: [WiX-users] ServiceControl and Component

2010-03-18 Thread Bob Arnson
On 3/18/2010 9:10 PM, Zachary Young wrote: I have checked the event logs and see Tomcat is stopped and started, and I have looked at verbose logs from the installer, but I am not sure of the exact sequencing of the three events: stop, install/uninstall file, start. I have also looked at the

Re: [WiX-users] Installing from embedded CAB file and Folder

2010-03-17 Thread Bob Arnson
On 3/16/2010 8:15 AM, Sanjay Poria wrote: Media Id=1 Cabinet=Product.cab EmbedCab=yes/ Will mean that all the File elements will be embedded into the cab. Basically I wish to have “special” file elements that are to be installed but are not taken from the embedded CAB file. Don't use

Re: [WiX-users] Upgrade Vs Install - Leaving folders/files behind on Upgrade, not on Install

2010-03-17 Thread Bob Arnson
On 3/16/2010 4:28 PM, Dan Covill wrote: I've been dropped into the deep end of Wix for the last couple of weeks and am trying to come up with a way to make this work. I've learned how to mostly make major upgrades work but for some reason I can't quite nail down this aspect of the

Re: [WiX-users] How to execute a custom action that depends on an assembly being installed to the GAC

2010-03-17 Thread Bob Arnson
On 3/16/2010 7:05 PM, Jacques Eloff wrote: It sounds to me then that a type 2 CA is not the solution then. I guess that gives rise to some more questions: 1) Where should I schedule this to ensure that rollbacks can be handled, keeping in mind that the assemblies I installed are in the GAC

Re: [WiX-users] registrysearch

2010-03-17 Thread Bob Arnson
On 3/16/2010 6:08 AM, Yu, Brian wrote: How do I check if a registry directory exists or not using registrysearch? AppSearch doesn't have that functionality. -- sig://boB http://joyofsetup.com/ -- Download

Re: [WiX-users] ICE038 - revised

2010-03-17 Thread Bob Arnson
On 3/16/2010 4:03 AM, Kristoffer Danielsson wrote: I noticed that using the same registry setting works, but I'm not sure what this implies. Is this a bad idea? Yes, it violates component rules. See Organizing Applications into Components in the MSI SDK. -- sig://boB

Re: [WiX-users] minor issues with WiX installer gui

2010-03-17 Thread Bob Arnson
On 3/17/2010 6:08 AM, Jacek Pospychała wrote: This time, it's WiX dialog. On attached screenshot you can see which exactly button is stuck. Check a verbose log and you'll see what's taking the time. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Generating sections of componentgroup using heat

2010-03-15 Thread Bob Arnson
On 3/15/2010 4:11 PM, Steve Huston wrote: Is there an easy way to do this? Can I somehow tell heat to process multiple files, or to filter out specific files? Yes: Use your build tool (e.g., MSBuild) to create a staging directory. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Conditional check for existing GUIDs

2010-03-15 Thread Bob Arnson
On 3/15/2010 9:07 AM, Alex Wernecke wrote: How would I do a check for certain GUIDs as a conditional check for an install? ComponentSearch -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio

Re: [WiX-users] setupbld.exe is giving error Error 0x80070002: Failed to CreateSetup.

2010-03-15 Thread Bob Arnson
On 3/15/2010 8:11 AM, MYFLEX wrote: setupbld.exe -out c:\mysetup.exe -ms c:\aa.msi -titile myapp -setup c:\mysetup.exe The -setup switch is for pointing to the setup.exe stub that comes with WiX (or your own for custom UI). -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Parsing a registry string

2010-03-15 Thread Bob Arnson
On 3/15/2010 4:13 PM, Dane Anderson (Acro Service Corp) wrote: HOW do I parse that registry string from inside of WIX at runtime? MSI (WiX is the build toolset, not the runtime) doesn't have parsing support. You need an immediate custom action. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] ambiguous short name warnings after dark

2010-03-15 Thread Bob Arnson
On 3/15/2010 11:13 AM, Bill McCormick wrote: How can I clean this up? Notepad: Edit the file and remove those attributes; they're almost certainly vestigial. -- sig://boB http://joyofsetup.com/ -- Download

Re: [WiX-users] ICE038 - revised

2010-03-15 Thread Bob Arnson
On 3/15/2010 5:57 PM, Kristoffer Danielsson wrote: 1) I don't want to specify a registry key for each one of my 100 files! Cost of doing business: MSI doesn't offer a better way. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] WixUI_InstallDir + shield icon?

2010-03-15 Thread Bob Arnson
On 3/13/2010 3:03 PM, Kristoffer Danielsson wrote: In v3.5, is it possible to add a shield icon to the Install-button when using WixUI_InstallDir + WixUI_ErrorProgressText? It's already there, if ALLUSERS is set. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Sub-folders in ONE component?

2010-03-15 Thread Bob Arnson
On 3/15/2010 6:31 PM, Kristoffer Danielsson wrote: Do you always have to define a separate component for a sub-folder? Yes. See the MSI SDK for Component Table. -- sig://boB http://joyofsetup.com/ -- Download

Re: [WiX-users] Add Local Event

2010-03-13 Thread Bob Arnson
On 3/12/2010 11:46 AM, Oleksandr Y. Nechyporenko wrote: My main problem is that I need something like code below. I.e. I need duplicate same rows for each of buttons (InstallNoShield, Install, ChangeNoShield, Change, Repair). So there are too many copy-paste code with same operations but for

Re: [WiX-users] install service

2010-03-13 Thread Bob Arnson
On 3/12/2010 11:23 AM, Shabbir Ahsan wrote: I got the service to install, but it now fails to start. Possibly an XP quirk, and am now testing on other OS to see what happens. When attempting to start the service it returns an error saying the service did not respond in a timely fashion.

Re: [WiX-users] including WixUI_Modno in project

2010-03-13 Thread Bob Arnson
On 3/12/2010 11:44 AM, Shabbir Ahsan wrote: I have copied the WixUI_Mondo.wxs into my project directory and renamed it MyWixUI_Mondo.wxs. I ahve also updated the UI ref to the following: UIRef Id=MyWixUI_Mondo / You also need to rename the UI/@Id symbol. -- sig://boB

Re: [WiX-users] How to execute a custom action that depends on an assembly being installed to the GAC

2010-03-12 Thread Bob Arnson
On 3/11/2010 11:02 PM, Jacques Eloff wrote: I've also add the WixFailWhenDeferred action to allow for injecting failures. I found that since it relies on the GAC, having Execute=commit seems to work well by making sure the assemblies are in the GAC since this happens after the publishAssembly

Re: [WiX-users] Add Local Event

2010-03-12 Thread Bob Arnson
On 3/12/2010 7:29 AM, Oleksandr Y. Nechyporenko wrote: So now I setup addlocal / remove events for one of its buttons. Many events are tied to the Install button; you likely will have to replace VerifyReadyDlg entirely to add your control events because you need the existing control

Re: [WiX-users] Using superscript text in a dialog?

2010-03-12 Thread Bob Arnson
On 3/11/2010 9:21 PM, Tabmow wrote: Sorry - i don't mean to be obtuse, but i searched around for 'character map' and 'wix' and nothing jumps out at me. Character Map is a Windows tool; check your Start menu shortcuts. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Using superscript text in a dialog?

2010-03-11 Thread Bob Arnson
On 3/11/2010 9:39 AM, Tabmow wrote: I searched around and didn't find this anywhere, so here goes: I have a dialog panel where i want to putCOMPANY NAMEtm with the tm portion as a superscript, ie. raised 1/2 way aboveCOMPANY NAME.Is this possible? I see discussion on how to use

Re: [WiX-users] Is it possible to install a 32-bit COM server DLL under ProgramFiles64Folder?

2010-03-11 Thread Bob Arnson
On 3/11/2010 6:02 PM, Paul Baker wrote: We give the user a choice of install location for our 64-bit components, which defaults to Program Files\Product Name. Should we create a parallel Program Files (x86)\Product Name folder for the 32-bit components? If so, what should happen if the user

Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-11 Thread Bob Arnson
On 3/11/2010 7:04 PM, puyo puy wrote: Thanks Bob but all individual team have to prepare their installer(s), I just need to consolidates all the installers and create a big MSI. That's also possible with fragments and ComponentGroupRef. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Wix 2.0 to Wix 3.0

2010-03-11 Thread Bob Arnson
On 3/11/2010 3:10 PM, Anurag Pahwa wrote: We've already upgraded the installer sources and built the MSI (using WIX 3.0) and wanted to know if we can release a patch (MSP) that targets the MSI (built using WIX 2.0). I know we can decide whether to ship it as a patch or minor upgrade or a

Re: [WiX-users] How to set property with return value from custom action

2010-03-10 Thread Bob Arnson
On 3/10/2010 3:44 AM, Christian Kraut wrote: How can I get the return value of the above query? Custom actions only return success or failure. If you need more control, you need to wrap the code in a DLL custom action. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Passing data to uninstaller or detecting how it was invoked

2010-03-10 Thread Bob Arnson
On 3/9/2010 9:28 AM, Tom Crozier wrote: Or is there an existing property that lets me know how it was invoked? See the MSI SDK for the UPGRADINGPRODUCTCODE property. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Checkbox not transparent

2010-03-10 Thread Bob Arnson
On 3/10/2010 6:21 AM, Kristoffer Danielsson wrote: That checkbox looks ugly. How do you make it transparent (or solve it some other way)? Checkboxes can't be transparent. You can customize the dialog to remove or resize the bitmap. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Reinstall not updating correct registry value.

2010-03-10 Thread Bob Arnson
On 3/9/2010 1:33 PM, Sachin Dubey wrote: During the change only the properties set in UI sequence are not getting forwarded to Install sequence. and this happens only on machines with UAC enabled and logged in user is non build-in Admin. See the Property/@Secure attribute. --

Re: [WiX-users] Install additional components depending on selected languages

2010-03-10 Thread Bob Arnson
On 3/9/2010 10:11 AM, Oleksandr Y. Nechyporenko wrote: Are there easy way to select language(s) at first step of installation and automatically include language depended components to related features? MSI doesn't support multi-language installers (e.g., UI) but you can include

Re: [WiX-users] Older package version not removed in some cases

2010-03-10 Thread Bob Arnson
On 3/10/2010 1:38 AM, nro...@gmail.com wrote: I'm seeing a situation in which a major upgrade fails to uninstall the previous version. I have three package versions like this: Check a verbose log to see why MSI didn't remove the product. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Calling Deferred custom action

2010-03-10 Thread Bob Arnson
On 3/10/2010 8:05 AM, Sagar wrote: i have the following requirement 1)install an xml file. 2)to modify the installed xml file Use XmlConfig. -- sig://boB http://joyofsetup.com/ -- Download Intel#174;

Re: [WiX-users] Component GUID rules

2010-03-10 Thread Bob Arnson
On 3/9/2010 11:14 AM, Oleksandr Y. Nechyporenko wrote: will be better to generate new GUIDs for components in different products, but it is a little difficult to generate different GUIDs for each component. Use Component/@Guid=* (or omit it in recent WiX v3.5 builds) to have WiX generate

Re: [WiX-users] Component GUID rules

2010-03-10 Thread Bob Arnson
On 3/10/2010 10:34 AM, Oleksandr Y. Nechyporenko wrote: If I will use Component/@Guid=*, it will produce different GUIDs for components even inside same product after the each MSI rebuild. No, it generates stable IDs. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Install additional components depending on selected languages

2010-03-10 Thread Bob Arnson
On 3/10/2010 11:15 AM, Oleksandr Y. Nechyporenko wrote: But unfortunately it don't work. Am I missing something? Check a verbose log to see if MSI is showing the feature changes being made. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Preventing install if application is running

2010-03-10 Thread Bob Arnson
On 3/10/2010 12:01 PM, Cody Gibson wrote: I'm not the original person posing the question... but I did try that when I wanted the functionality that Jeff is asking for. The problem I ran into with the CloseApplication element is that it would either forcefully close the application or schedule

Re: [WiX-users] UAC Patching on WIndows 2008

2010-03-10 Thread Bob Arnson
On 3/10/2010 11:42 AM, Anurag Pahwa wrote: The following link below states that UAC patching is not supported on WIN2k8. Is there way we can do this on Windows 2008 ? The MSI SDK is the authoritative source on what's supported and what's not. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-09 Thread Bob Arnson
On 3/9/2010 12:10 AM, puyo puy wrote: mean I cannot use bootstrapper. I’m think of creating msm for each product and assign a feature for each msm. There's no need for merge modules; use a ComponentGroup instead. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Conditional FeatureTree Features

2010-03-09 Thread Bob Arnson
On 3/8/2010 9:11 AM, Arun Perregatturv wrote: For COMServer - Only FeatureF should be selected and displayed(cannot uncheck this feature for this type of install) and rest is displayed but unchecked. Is this possible? The selection tree control doesn't support that. Do have I have add

Re: [WiX-users] duplicate file-names; depending on conditions

2010-03-09 Thread Bob Arnson
On 3/8/2010 12:10 PM, Johann Taferl, T-AU wrote: I have to install some driver to a given folder. For Win Vista, they have to- and for all previous Win-versions, they must not be signed. To solve this problem I thought of two separate merge-modules. To install the correct one, I use

Re: [WiX-users] Problem with XmlConfig

2010-03-08 Thread Bob Arnson
On 3/6/2010 12:04 PM, Richard Fine wrote: I don't see any. The same line in a later attempt: MSI (s) (48:A8) [20:04:24:913]: Executing op: ActionStart(Name=ExecXmlConfig,,) MSI (s) (48:A8) [20:04:24:914]: Executing op:

Re: [WiX-users] Reinstall not updating correct registry value.

2010-03-08 Thread Bob Arnson
On 3/6/2010 3:06 PM, Sachin Dubey wrote: My installer creates a registry key in HKLM and stores the INSTALLDIR value. It provides default INSTALLDIR, however user can change it and the changed value gets stored in registry. MSI doesn't persist property values for you, so you need to

Re: [WiX-users] Is it possible to install a 32-bit COM server DLL under ProgramFiles64Folder?

2010-03-08 Thread Bob Arnson
On 3/6/2010 8:22 PM, Paul Baker wrote: We're now thinking of registering our COM server using RegistryValue elements, where RegistryValue/@Key contains Wow6432Node. Does anyone know of any potential problems with this approach? You might want to listen to what the code is telling you:

Re: [WiX-users] Set a registry value upon clicking finish button

2010-03-08 Thread Bob Arnson
On 3/8/2010 7:56 AM, Andy.Kruger wrote: I have added custom action to Finish button that launches a C# exe. Also I have added an admin manifest to say that it requires elevation. It sets the registry value on Windows XP. But when i run the installer on Vista with UAC enabled and click finish

Re: [WiX-users] How do I: Generate a Complete Installer usingCommand-Line Tools

2010-03-06 Thread Bob Arnson
On 3/5/2010 8:31 PM, Alec Taylor wrote: Unfortunately, cannot access that website: Parse error: parse error, unexpected $ in /w/d/d...@interware.hu/wix/st882/var/access.php on line 113 Works fine now. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Enforcing installation dependencies

2010-03-06 Thread Bob Arnson
On 3/5/2010 12:34 PM, admiristra...@cox.net wrote: I know we can configure a Launch Condition to check for the existence of another installed product before installing, but is there a way to enforce or at least warn the user if they later attempt to uninstall the prerequisite (especially if we

Re: [WiX-users] SSRS deployment using Custom Actions - Error

2010-03-06 Thread Bob Arnson
On 3/5/2010 6:08 PM, Sachin Dubey wrote: I have a WIX 3.0 installer that deploys SSRS reports using a differed C# custom actions. The impersonation it set to yes. Impersonated custom actions aren't elevated. If you need elevation, it must be no. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Greater than equal to comparison

2010-03-06 Thread Bob Arnson
On 3/5/2010 4:32 PM, Uma Harano wrote: Can I use the Greater than equal to operator for this? Yes, for the simple case of 4 3 but all the operators in MSI are ordinal comparisons, so 3.0.200 is not greater than 3.0.1000. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Tip: Version number updater

2010-03-06 Thread Bob Arnson
On 3/5/2010 1:05 PM, admiristra...@cox.net wrote: I was searching around for a solution to easily update my MSI version numbers with each build, but I couldn't find one. So I wrote this and now I don't have to remember. Thought I'd share... Even easier method: Use binder variables to

Re: [WiX-users] Conditional service install (with ServiceControl)

2010-03-05 Thread Bob Arnson
On 3/5/2010 4:40 AM, Nicole Zheng wrote: My codes below works fine (pls ignore the line in italic at this moment). However, there's new requirement to config the service during installation. I can't useServiceConfig under eachServiceInstall (just like the code in italic below) because

Re: [WiX-users] Problem with XmlConfig

2010-03-04 Thread Bob Arnson
On 3/4/2010 3:50 PM, Richard Fine wrote: MSI (s) (48:34) [19:55:31:273]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIBFC7.tmp, Entrypoint: ExecXmlConfig What's after that line? There should be a bit of logging if it couldn't process an XmlConfig row. -- sig://boB

Re: [WiX-users] Conditional FeatureTree Features

2010-03-04 Thread Bob Arnson
On 3/4/2010 3:17 PM, Arun Perregatturv wrote: I am using WIXUI_FeatureTree with removal of License and including a custom dialog which has 3 radiogroups. Based on the radio group selection I have display the feature set in the feature tree. Is it possible? Yes. Use AddLocal and Remove

Re: [WiX-users] Conditionally Install Component if Registry Key Exists

2010-03-04 Thread Bob Arnson
On 3/4/2010 11:32 AM, Brendan Rice wrote: File Id=fileToCopy.dat Name=fileToCopy.dat Source=[MYTESTDIR]fileToCopy.dat CopyFile Id=fileToCopy.datCopy DestinationProperty=WEBSERVICEBINFOLDER / /File If you want to copy a file that's

Re: [WiX-users] Creating a Major Upgrade Patch

2010-03-04 Thread Bob Arnson
On 3/4/2010 5:52 AM, Pally Sandher wrote: I guess you can't really know success until you've failed. Well, you know it *really* well then.g -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel

Re: [WiX-users] Wix 3.5 Build error

2010-03-04 Thread Bob Arnson
On 3/4/2010 2:33 PM, David Largen wrote: C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.5\Wix2010.targets (1730): The specified task executable location C:\Program Files (x86)\Windows Installer XML v3\bin\candle.exe is invalid. Do you get this error from new projects or just upgraded

Re: [WiX-users] Creating files from user input

2010-03-03 Thread Bob Arnson
On 3/1/2010 10:14 AM, Tim St. Clair wrote: Custom config file, but it resembles an ini file without any tags/keys. MSI supports .ini files and WiX additionally supports XML. No arbitrary text support, however. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] heat.exe popping up a dialog

2010-03-03 Thread Bob Arnson
On 3/3/2010 5:02 AM, Jacek Pospychała wrote: anyway, I'm still interested to learn, how the DLL is processed that it can throw a popup.. Self-reg runs code in the DLL; it can do anything, which is one of the reasons it's evil in an installer. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] Pause the PrepareDlg dialog?

2010-03-03 Thread Bob Arnson
On 3/2/2010 10:21 AM, Tabmow wrote: I know the PrepareDlg pops up (modeless dialog) briefly at very beginning, but is there a way to 'pause' it there or slow it down from disappearing so fast? I want to check one thing out on the layout and it disappears too fast for me to tell.

Re: [WiX-users] Merge Module versioning, or equivalent

2010-03-03 Thread Bob Arnson
On 3/3/2010 4:14 PM, admiristra...@cox.net wrote: Can someone please detail how Merge Module versioning is supposed to work? There's no such thing. Merge modules are a collection of tables and rows that are merged into your .msi package, losing their identities in the process. All

Re: [WiX-users] Creating a Major Upgrade Patch

2010-03-03 Thread Bob Arnson
On 3/3/2010 10:50 AM, Pally Sandher wrote: Moral of the story, be absolutely certain when you're changing Product Codes (still can't believe I made such an error, hoist by ones own petard). A higher-level moral: Test serviceability before shipping; afterward is too late to fix whole

Re: [WiX-users] WixComPlusExtension and Wix3.5.1426

2010-03-01 Thread Bob Arnson
On 3/1/2010 5:22 AM, Igor Paniushkin wrote: Is it a bug? Yes, it's a bug that's already been filed. -- sig://boB http://joyofsetup.com/ -- Download Intel#174; Parallel Studio Eval Try the new software tools for

Re: [WiX-users] File from local location

2010-03-01 Thread Bob Arnson
On 3/1/2010 1:13 AM, hila toronchik wrote: The problem is - that an empty file named Global.jpeg need to be placed the development machine in order to build the msi. WiX needs the file to fill out the details of the file (size, e.g.) in the MSI database. -- sig://boB

Re: [WiX-users] Simple upgrade for existing app replacing two binaries files

2010-03-01 Thread Bob Arnson
On 2/28/2010 1:09 PM, Semion Prihodko wrote: So how can I make a patch replacing two files in old installation which is probably doesn't presume patches? Is there really no way to simply replace two files? Thanks. MSI doesn't support downgrades except via patching. If you didn't create

Re: [WiX-users] WixCop (v3.0) silently succeeds if the source file is not found

2010-03-01 Thread Bob Arnson
On 3/1/2010 5:39 AM, Paul Baker wrote: Is this the intended behavior? Sounds like a bug, though it might be intentional, to let you run WixCop over a tree. Please file a bug so the triage group can debate it. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] windows services installed using wix installer not removed on windows server 2008

2010-03-01 Thread Bob Arnson
On 2/28/2010 5:06 PM, Sanjay Rao wrote: MSI (s) (7C:90) [03:01:26:656]: Component: CheckerServerServiceComp; Installed: Local; Request: Absent; Action: Null I am not able to find any issue in this file. please suggest. There are several entries of the form MSI (s) (7C:90) [03:01:26:656]:

Re: [WiX-users] Simple upgrade for existing app replacing two binaries files

2010-02-28 Thread Bob Arnson
On 2/28/2010 6:35 AM, Semion Prihodko wrote: The instresting thing is that if I change the content of these binaries on target machine (reduce their size down to several bytes) - the files are being replaced normally, but this don't work with original ones. Make sure you update the files'

<    4   5   6   7   8   9   10   11   12   13   >