Re: [WiX-users] Intermittent errors setting Windows 8 properties on shortcuts

2014-09-17 Thread John Hall
l allocate you one on the fly, but may be worth a try. Check out http://msdn.microsoft.com/en-us/library/windows/desktop/dd391569(v=vs.85).aspx to see if its relevant to your situation. My example shortcut -Original Message----- From: John Hall [mailto:john.h...@cambridgetec

Re: [WiX-users] Intermittent errors setting Windows 8 properties on shortcuts

2014-09-16 Thread John Hall
http://www.firegiant.com/ -Original Message- From: John Hall [mailto:john.h...@cambridgetechgroup.com] Sent: Tuesday, September 16, 2014 3:11 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Intermittent errors setting Windows 8 properties on shortcuts Hi, In my installer I have a n

[WiX-users] Intermittent errors setting Windows 8 properties on shortcuts

2014-09-16 Thread John Hall
Hi, In my installer I have a number of shortcuts installed on the Start Menu that I don't want to appear on the Windows 8 start screen. I therefore set both the System.AppUserModel.StartPinOption and System.AppUserModel.ExcludeFromShowInNewInstall properties for each of these shortcuts. My cod

Re: [WiX-users] Deploying mshtml PIA assembly

2009-10-22 Thread John Hall
Andreas Mertens wrote: > I took a look at vs_piaredist.exe, and found you can extract > the .cab or .msi from it (using WinRAR or other such tools). > Perhaps you can just grab one of those and package that up in > your install? Yes, I've found those. However, Rob is correct, and the license

Re: [WiX-users] Deploying mshtml PIA assembly

2009-10-22 Thread John Hall
Rob Mensching wrote: > I'm not sure if the .exe is the only thing available but if > there is no license for you to redist the PIA file with your > application stand-alone then it isn't legal to do so. The exe is the only thing I can find reference to, and the fact that it is install in c:\Prog

[WiX-users] Deploying mshtml PIA assembly

2009-10-22 Thread John Hall
Hi, My application now has a dependency on mshtml. I therefore need to deploy Microsoft.mshtml.dll, the PIA assembly. The only redistributable I can find is vs_piaredist.exe - is this really the only way of redistributing the file? I'd rather not add another step to my bootstrapper or add a cus

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-02-02 Thread John Hall
>1. Can the MSI package be marked in some way so that the > complete MSI > file (under 5 MBs in my case) is cached by Windows Installer? >2. Can my setup bootstrapper call some MSI API to make Windows > Installer cache the complete package? >3. Should my setup bootstrapper

Re: [WiX-users] How do setup bootstrappers avoid prompts for media when changing or repairing an existing installation

2009-02-02 Thread John Hall
>1. Can the MSI package be marked in some way so that the > complete MSI > file (under 5 MBs in my case) is cached by Windows Installer? >2. Can my setup bootstrapper call some MSI API to make Windows > Installer cache the complete package? >3. Should my setup bootstrapper

Re: [WiX-users] Building WiX

2008-10-24 Thread John Hall
> It sounds like you know a bit about CVS, do you know if it is > possible to view what has change since you last did a > checkout in CVS or TortoiseCVS? I can see how to do it on a > file by file basis but not the whole folder. Neil, On the commandline, you can do 'cvs -n update', which shows yo

Re: [WiX-users] Building WiX

2008-10-24 Thread John Hall
> You are of course correct but I am such a total convert to > SVN that everything in CVS looks so antiquated. I use CVS > tags in another project but have never have the enthusiasm to > understand the command line, in SVN I do everything via the > TortiseSVN interface and I assumed TortiseCVS woul

Re: [WiX-users] Executing .bat,.reg,.msi files from WIX v3

2008-10-21 Thread John Hall
> > .reg: Don't use the .reg file; instead put the registry > > values in the .reg file into a component and install the component. > Thanks a lot for your suggestions. > Could you please let me know how to implement the first one > (.reg files) as you suggested. You need to create a component an

Re: [WiX-users] Build from command line

2008-10-16 Thread John Hall
> So you are saying it is not possible? I don't know; I'm no expert. Rather than pass in two variables embedded in 'MyVariable' can you not just pass Name1 and Name2 as variables in their own right? And then msbuild myinstall.wixproj /p:Name1=value1 /p:Name2=valu

Re: [WiX-users] Build from command line

2008-10-16 Thread John Hall
and line > > It still does not work for me. In my case MyVariable has ";" in it: > > MyBariable=Name1=Value1%3bName2=value2 > > > -Original Message- > From: John Hall [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2008 03:29 > To: General disc

Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
> > I've modified by wixproj file to take parameters from the > > commandline and pass them into WiX: > Does it mean there is a bug in WiX MSBuild-related stuff or > it is not implemented? I don't know. I just assumed that they were different things and that you need to plumb them together yours

Re: [WiX-users] Use of ComponentGroup and "Duplicate symbol 'WixComponentGroup:xxx' found."

2008-10-15 Thread John Hall
> > > > > > > > > > To be explicit, it appears that you are somehow including > your Fragments code twice. Maybe you lit the Fragment.wxs > into a .wixlib then added both the .wixlib and the > Fragment.wxs to the link line? That would create the problem. In many places there appear to be spa

Re: [WiX-users] Build from command line

2008-10-15 Thread John Hall
> Let me rephrase. How do I specify preprocessor variables when > I build from command line with MSBuild? > > msbuild myinstall.wixproj /p:??? I've modified by wixproj file to take parameters from the commandline and pass them into WiX: You need to add something like this to the BeforeBu

Re: [WiX-users] Changes in DTF projects don't trigger a rebuild of the MSI

2008-10-14 Thread John Hall
> I have a VS 2008 solution with a DTF project and a WiX > project which uses my DTF custom action DLL. I have manually > set the project dependencies such that the DTF project builds > before the WiX project. > > Theoretically, a change in the custom action code in the DTF > project should trigge

Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread John Hall
> The only way I've got this to work at the moment is by > manually changing the Product Id and checking it in before > doing a publish to avoid the annoying "another version of > this product is already installed..." message. Otherwise it > forces the user to uninstall the previous version before

Re: [WiX-users] How does digital signing work?

2008-10-06 Thread John Hall
> Could anyone please describe how digital signing works with WIX? > I've only found the reference of the DigitalSignature-element here: > http://wix.sourceforge.net/manual-wix2/wix_xsd_digitalsignature.htm > In the Windows Installer SDK there isn't much more > information. It seams that I need a 1

Re: [WiX-users] COM registration weirdness

2008-10-06 Thread John Hall
> Is this code significantly different than what is in heat? > Can we improve heat as well? I didn't look at heat's sourcecode when I wrote my utility, but it uses the same registry redirection technique. I've looked at RegistryHarvester.cs and I can't see where it deals with the Class/TypeLib t

Re: [WiX-users] Logging from a Custom Action during the UI phase

2008-10-06 Thread John Hall
> If you're looking for a quick non-debugger method, property > changes are still logged. It may be a hack, but calling > MsiSetProperty(hMSI, _T("LOGME"), _T("...")) is effective. Michael, That's a nice workaround - I like it. Cheers, John --

Re: [WiX-users] COM registration weirdness

2008-10-02 Thread John Hall
> Regarding SelfReg, or not I'm not completely sure I drink > the Kool-Aid on this one. So, I understand that SelfRegCost > violates transactability rules (spell checker says > transactability is not a word >shrug<) due to MSI and how it > handles that... But what then IS the recommended way t

Re: [WiX-users] Logging from a Custom Action during the UI phase

2008-10-02 Thread John Hall
> Yeah, Windows Installer doesn't let it work. Why? Some > message processing issue inside them. I think this is > documented in some small print somewhere. > > PS: Please don't shoot the messenger. Of course not. I had half guessed it was something like this anyway. I guess it's a matter o

Re: [WiX-users] COM registration weirdness

2008-10-02 Thread John Hall
Neil wrote: > I have tried a > few times to remove the unrelated code and never successfully > got the component to work or to leave the machine working on > uninstall. Have you ever generated the WiX registry code for > VB6 COM component? Has anyone? Neil, I have. I wrote a custom build task tha

[WiX-users] Logging from a Custom Action during the UI phase

2008-10-01 Thread John Hall
In my installer I have some C++ custom actions that log to the main MSI log file using MsiProcessMessage. I'm now writing a CA that is executed on a button press in the UI as the user leaves the feature selection dialog. However, none of my debug output is appearing in the log. Is there a reaso

Re: [WiX-users] Shortcut to Folder example

2008-08-11 Thread John Hall
> I have tried to get simple Shortcut from menus to Folder (no > file). But somehow I always fails. I can get it to file. > > Could someone give me little example? > > I have tried Target=[DirectoryID], as I think should work, > but no success for me. I've got something like this:

Re: [WiX-users] How to ignore selected ICE errors or warnings duringcompilation

2008-08-05 Thread John Hall
> I just started using WIX build 3.0.2420.0, (I was using > 3.0.1502.0). When Light.exe runs it performs the ICE validations. > Some of those, I want to ignore. However, I have not been > able to figure out how to do so. > I tried the following SW command line parms for Light.exe, > but they

Re: [WiX-users] Merge Module Help

2008-07-23 Thread John Hall
> 1. How do you manage updates to the "database" in source > control? Do people update the file before building or does > the build machine checkout/checkin automatically? If the > latter, what source control systems does it support... (you > can see where I'm going )? We use cvsnt as our s

Re: [WiX-users] Merge Module Help

2008-07-23 Thread John Hall
> John Hall wrote: > > I have written a tool that auto-generates .wxs files for some parts > > of my project - we ship a lot of example scripts. It only handles > > files and generates one component per file. The tool maintains a > > database (well, an XML file) th

Re: [WiX-users] Merge Module Help

2008-07-23 Thread John Hall
> The case that gets really tricky is to have one build where a Resource > disappears (usually accidentally) then the next build where the > Resource comes back. It needs to get the same Component and GUID. I have written a tool that auto-generates .wxs files for some parts of my project - we s

Re: [WiX-users] Merge module question

2008-07-18 Thread John Hall
> By extension, we do not need tools like WiX as we don't need > tools like compilers. We can all hack binary codes directly > to the processor and be done with it. > > BTW, .msm is like a .o to a .c I think of them more like a static library, i.e. a .lib file ... :) john

Re: [WiX-users] Induce Sleep in the MSI script

2008-06-27 Thread John Hall
> > I think you'd have to write a custom action. As custom > > actions go, this would be a very simple one. > I tried putting in a custom action that used the cmd.exe > sleep command to fix a problem with a service that needed to > restart only to discover that not all my deployment targets >

Re: [WiX-users] Induce Sleep in the MSI script

2008-06-26 Thread John Hall
> Is there a way to do this? I think you'd have to write a custom action. As custom actions go, this would be a very simple one. Just out of interest, why do you want to sleep during installation? Regards, John - Check out

Re: [WiX-users] self-registering

2008-06-18 Thread John Hall
> I'm trying to package a legacy program that registers some third-party > ocx and dlls. I see that the consensus is that I should be handling > this with a registry component. However, this application's > 'installer' just copies stuff into a folder off the root of c:\ and > runs a 'register.b

Re: [WiX-users] Installing drivers with subdirectories

2008-05-30 Thread John Hall
Richard, That's interesting - my subdirectory does end up in the driver store. I'll send you my .wxs file (I don't think the list allows attachments) and see if you can work out what the differences are. Regards, John _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Be

Re: [WiX-users] Installing driver when the installer files includesubdirectories

2008-05-28 Thread John Hall
Richard, Just create normal components for the two subdirectories, and a third component just containing the INF file and the difx attributes, and then add all three to the same feature. I think that the difx stuff only has to be attached to the INF file. Regards, John _ From

Re: [WiX-users] Device Driver Installation

2008-04-25 Thread John Hall
Anthony, As far as I know DIFxApp still only works with WiX 2. My workaround was to create a merge module using WiX 2 just for the driver installation and merge that into my WiX 3 installer. Regards, John _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthon

Re: [WiX-users] wix mailing lists open to public => more spam

2008-04-23 Thread John Hall
I would imagine that whoever is spamming the list is not intentionally doing it, but just has wix-users@lists.sourceforge.net on a list of e-mail addresses, so blocking non-subscribers should be effective. John _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al

Re: [WiX-users] COM Extraction questions (Wix 2)

2008-03-20 Thread John Hall
Quinton, It's unfortunate, but the WiX tools are not designed to be used in an automated, build-time fashion. I guess the reason is that there are too many problems around managing component rules, and for many people their COM interfaces change rarely. I developed my own custom build tasks

Re: [WiX-users] Is there a way to use my own bitmap?

2008-03-17 Thread John Hall
You can change the bitmaps quite easily without having to do any hacking. In WiX 2, you simply put a file called Bitmaps\BannrBmp.bmp in the directory in which you're building your MSI (see http://www.tramontana.co.hu/wix/lesson2.php#2.3 for a list of all the files you can replace). In WiX 3, you

Re: [WiX-users] Forums

2008-03-04 Thread John Hall
Also, aren't there other "forum-like" venues already out there for WiX? I know there are a couple of Wiki sites and also sites that aggregate these emails. What additional value will a forum serve? (I'm not opposed to it, I'm just asking for more clarification). What about Nabble: http://www.na

Re: [WiX-users] 32-bit and 64-bit MSIs bundled in single EXE

2008-01-24 Thread John Hall
> It looks like the current bootstrapper calls msiexec.exe, rather than > using the APIs. I inherited the code and it looks like it was done > that way to make it convenient to pass command line arguments, among > other things. > > If I continue to call the executable, I assume that I'll need to >

Re: [WiX-users] Handling Feature Dependencies

2007-12-06 Thread John Hall
hich apparently has been fixed. John _ From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 06 December 2007 06:21 To: [EMAIL PROTECTED] Cc: John Hall; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Handling Feature Dependencies

Re: [WiX-users] Handling Feature Dependencies

2007-12-04 Thread John Hall
Oh. Are you saying put the MergeRefs directly under the feature groups? Okay. I will give that a shot. Yes, and then put FeatureGroupRefs under your Features. John - SF.Net email is sponsored by: Th

Re: [WiX-users] Handling Feature Dependencies

2007-12-03 Thread John Hall
:04 To: [EMAIL PROTECTED]; John Hall Cc: wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Handling Feature Dependencies Yes. That is true. But what I used is a FeatureGroup element. Then, under the FeatureGroup Element, I use a mergeref. So

Re: [WiX-users] Handling Feature Dependencies

2007-12-03 Thread John Hall
Okay. So what if the hidden fC actually contains a merge module (meaning, a< MergeRef /> element)? But I still don't want fC displayed in the interface anywhere. AFAIK, ComponentGroupRefs do not contain MergeRefs. FeatureGroupRefs can contain MergeRefs though. John --

Re: [WiX-users] outlook com addin

2007-11-28 Thread John Hall
> As I previously said (though in private mail) the solution is rather > simple: > > SelfRegCost='1' > > Anything else is just a waste of your life by > overcomplicating simple things and reinventing the wheel :D Except that the MSI documentation strongly suggests that you shouldn't: "Installa

Re: [WiX-users] Calling embedded binaries with dependencies in WIX

2007-11-27 Thread John Hall
> Just as a side note, cygwin and sed (what you seem to be > using) are both licensed under GPL license hence you are > required to provide source code access to all customers using > the software (installer is also software), including any > modifications. Furthermore, the installer would need

Re: [WiX-users] Just found SetupBld

2007-11-12 Thread John Hall
> I have been having issues with getting a bootstrapper working > for some time now. i just recently found the program > setupbld, and it looks like it might solve my problems. Here > is what i aim to achieve the user runs setup.exe. it would > detect and prerequisits and install them, then lau

Re: [WiX-users] Advertised feature install starting

2007-11-08 Thread John Hall
John Hall wrote: However, this installing per-user on demand could be quite useful. I would like to install some files per-user as well as the registry entries. How do I make sure the files that need to be installed are available? That requires caching the

Re: [WiX-users] Advertised feature install starting

2007-11-07 Thread John Hall
John Hall wrote: It's an HKCU registry key that would have been created for the user who installed the application, but obviously not the user who is running. Is this the default behaviour for a key in HKCU even if the feature is not advertised? Yes, f

Re: [WiX-users] Advertised feature install starting

2007-11-06 Thread John Hall
I've got some machines that after a minor upgrade, unprivileged users unexpectedly get MSI launching a dialog saying that "the feature you are trying to use is on a network resource that is unavailable". Administrators do not see the message. The installer was run as Administrator.

[WiX-users] Advertised feature install starting

2007-11-05 Thread John Hall
I've got some machines that after a minor upgrade, unprivileged users unexpectedly get MSI launching a dialog saying that "the feature you are trying to use is on a network resource that is unavailable". Administrators do not see the message. The installer was run as Administrator. I assume it is b

Re: [WiX-users] Shorcuts between components

2007-11-05 Thread John Hall
Is it possible to create a shortcut in one component, that will reference to an executable which is located in another component? We have an executable used by all our applications, but is running with different command line arguments for each component. So I want the executable to be pl

Re: [WiX-users] WiX 3.0 post 3304 working for anyone?

2007-10-31 Thread John Hall
> Whenever I run a tool in version 3307, 3328 or 3419 builds > obtained from wix.sourceforge.net/releases, I get a > System.IO.FileLoadException > This suggests that the public key token of wix.dll isn't what > candle.exe is asking for. Loading the files into Reflector > (www.aisto.com/roeder/

[WiX-users] Automated testing?

2007-10-22 Thread John Hall
I'm wanting to do some automated testing of my installers, testing upgrades from previous versions, doing some regression testing and doing a thorough testing of the various combinations of features available. Has anyone done something similar? How have you gone about it? I do my testing manual

Re: [WiX-users] Bug in WiX2 2.0.5805.0 - CompanionFile attribute

2007-10-18 Thread John Hall
> I think I have found a bug in WiX2 (2.0.5805.0) (not sure > if it is also in Wix3 - not using it) > > Consider this code: > > >Checksum="yes" /> >CompanionFile="File1"/> > > > Checking the MSI file with ORCA the FileTable: > The row that belongs to file File2 will contain the real

Re: [WiX-users] Handling Feature Dependencies

2007-10-15 Thread John Hall
Robert, I encountered this same issue when porting our installer from InstallShield to WiX. InstallShield has the ability to make dependencies between features - I decompiled the MSI and discovered that it does it with a custom action and a custom table of dependencies called ISRequiredFeature.

Re: [WiX-users] Explanation for why you can't have both a 32-bitand 64-bit installer

2007-10-02 Thread John Hall
Presumably though, one can have an x64 and an x86 MSI, and a boot-strapper that detects architecture and runs the correct MSI? Yes, definitely. John - This SF.net email is sponsored by: Microsoft Defy all challenges. Micr

[WiX-users] Latest nightly build (3.0.3328.0) seems to be broken

2007-10-02 Thread John Hall
The latest nightly build, version 3.0.3328.0, seems to be broken - specifically there seems to be a problem with the strong name signing: Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'wix, Version=3.0.3328.0, Culture=neutral, PublicKeyToken=ce35f76fcda8

Re: [WiX-users] Explanation for why you can't have both a 32-bit and 64-bit installer

2007-10-01 Thread John Hall
> I am supposed to create a MSI package using WiX that can > detect whether the computer it's on has 32-bit or 64-bit > architecture, and install different files for each. I have > browsed Nabble and found replies that say making a single > installer that does this is impossible, such as these:

Re: [WiX-users] WiX v3: COM on Vista. I have some success, but worried about heat's erroneous output

2007-09-25 Thread John Hall
> I've been reading more about heat, vb6 and vista. I'm now > starting to get worried that there's a potential difference > between running Heat on Vista versus XP. And yes, you do > need to run as Admin, and elevated for Heat to actually > extract anything. Also, Should I be deleting all th

Re: [WiX-users] Registering an OCX

2007-09-14 Thread John Hall
> Our software package needs to register an Active X Control. > Currently I do it with the following: > > --- > regsvr32.exe > > Property="REGSVR" ExeCommand='/s "[INSTALLDIR]MyControl.ocx"' /> > Should I be following another method to register the OCX so > it consistently register

[WiX-users] Suppressing DIFx installation

2007-09-07 Thread John Hall
Hi, For the new version of our product I am using WiX to replace the previous installer. The new version is installable alongside the old one. The product includes a driver that with WiX I am installing with DIFx. I have found if I install the new version of the software and then uninstall it,

Re: [WiX-users] Tutorial down

2007-09-07 Thread John Hall
> I like to have a look at the tutorial for wix2.0 but that seems to be > down. > When will it be avaiable again? It seems to be working for me (assuming you mean the tutorial at http://www.tramontana.co.hu/wix/). Perhaps you have a more local networking problem. Regards, John -

Re: [WiX-users] Associating Icons to File Types

2007-08-31 Thread John Hall
Can anybody point me to instructions for: (1) Associating an icon to a particular file type (2)Launching the application to which that file type is associated when the icon is double-clicked Dan, Here is some example XML taken from one of my prod

Re: [WiX-users] Can Wix V3 be used on a shipping product?

2007-08-21 Thread John Hall
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 Ho

Re: [WiX-users] WixDifxAppExtension Build

2007-08-20 Thread John Hall
> Ben Greenberg wrote: > > I recall there being a bug in WiX 3.0 regarding this > extension. Am I doing something wrong, is there a work > around, or do the latest nightlies fix this? > > > > There's no workaround at present. The DiFX library ships as a > .wixlib for WiX v2. WiX v3 can't re

Re: [WiX-users] Managed Custom Action

2007-08-15 Thread John Hall
Alexei wrote: > Have a look > http://msdn2.microsoft.com/en-us/library/ms681383.aspx here > - its the first one on the list. Course that's if it was an > error from Windows Installer. If it was from your DLL then I > got nothin'. > However I believe the conventional wisdom is not to use > m

Re: [WiX-users] Beginning Question

2007-08-07 Thread John Hall
> You're doing it too late indeed. During msbuild > (BeforeCompile?) grasp the build version and write it to a > (new?) wxs file. Then add that wxs file to your Compile > itemgroup to get it compiled (and linked) to an msi. An easier way is to create a custom MSBuild task to get the version nu

Re: [WiX-users] macro/property for detecting debug/release from Votive

2007-08-02 Thread John Hall
I am using Votive in Visual Studio 2005. Can anyone tell me how I can configure my WXS file to pick up DLLS to be deployed (with the tag) from bin\Debug if the build configuration is set to Debug, and bin\Release if its Release? Adam, Light uses the -b switch to

Re: [WiX-users] custom action VS2005

2007-08-01 Thread John Hall
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp MSI (s) (24:F8)

Re: [WiX-users] Wix 3.0.2925 heat TypeLib RegistryValue

2007-07-31 Thread John Hall
Yeah, I agree that heat will produce a lot of RegistryValue elements that are not related to the DLL being looked at (like you said, usually VB Runtime related). Which is fine since heat shouldn't be used for automated builds etc, and the output should be hand-tooled/cleaned up. But I wo

Re: [WiX-users] Getting rid of the warnings when using the VC8 CRTmerge modules

2007-07-31 Thread John Hall
> From reading blogs on the web, the way to add the merge modules for > the VC8 CRT libraries is shown in the WXS code below. But I get a lot > of warnings in the process. > > We are using Visual Studio 2005 SP1 and Wix v3.0.2925 > > What is the reason for all the warnings? > > What can be done

Re: [WiX-users] Wix 3.0.2925 heat TypeLib RegistryValue

2007-07-31 Thread John Hall
I've been using WiX 3.0.2925 to install some of our COM DLLs (created by Visual Basic 6.0 SP6). With WiX 3.0.2925 when I use: "heat file MyLibrary.dll -out MyLibrary.wxs" I will often get a mixture of entries (which is what I want)

Re: [WiX-users] File Paths and Fragments

2007-07-31 Thread John Hall
I'm using some file keys in custom actions, for example [#MyFile]. This was working fine until I broke the core wxs file up into multiple files containing fragments for easier maintenance. Since I've done this the file references don't seem to be evaluating to anything. I get empty st

Re: [WiX-users] Build Events

2007-07-31 Thread John Hall
> I'd like to get my bootstrapper exe to be built while I'm > building my Wix file instead of going into the command line > and doing it separately. I figured I could do some kind of > ExeCommand to get it to work but I'm not quite sure where or > how to add that in. Can Wix do that? I know

Re: [WiX-users] Reorganising features and major upgrades

2007-07-30 Thread John Hall
John Hall wrote: Thanks for your reply. RemoveExistingProducts is scheduled after InstallInitialize and so has not been run when we get to the customize screen. It isn't actually migrating any feature states from the old version either: It wasn't

Re: [WiX-users] MSI Icon

2007-07-27 Thread John Hall
> I wanted to know whether it was possible to change the icon > of the MSI file generated by WiX to something else? Hasan, Do you mean the icon that explorer displays for the .msi file or the icon that you see in the add/remove programs dialog once it is installed? If you mean the icon as viewe

Re: [WiX-users] Reorganising features and major upgrades

2007-07-27 Thread John Hall
John Hall wrote: I'm in the process of migrating my installer from InstallShield to WiX 3. As part of this I have reorganised and rationalised the features in the product. When I come to do a major upgrade from the old installati

Re: [WiX-users] Preprocessor Directives

2007-07-27 Thread John Hall
Where can I find the current list of preprocessor directives? I'm using the list from this article, http://msdn2.microsoft.com/en-us/library/aa302186.aspx#wixsetup_topic6 But I'm getting compilation errors in VS when using the ProjectAggregator2-3.0.2925.0.msi. Thanks

Re: [WiX-users] Checkbox drawn with different coloured background

2007-07-27 Thread John Hall
John Hall wrote: I wanted to add a checkbox at the end of my installer and found the WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT property. However, when the checkbox is displayed it is drawn with the wrong background colour - see the attached screenshot. This is with Wix

Re: [WiX-users] Installer fails while reading the function from DLL

2007-07-26 Thread John Hall
> I created a Windows Installer DLL using Visual Studio C++. > The installer is working fine in windows xp and vista. But > when I run the installer which has custom action dll in > windows 2003, it is not installing in windows server 2003. Is > it known issue or does any body have idea this is

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> Oki..The ReistryKey and RegistryValue tags are used only with > WiX 3.0 right? Yes. Under WiX 2.0, you seem to just use the Registry element, which also has a Type attribute: Cheers, John - This SF.net email is sponso

[WiX-users] Reorganising features and major upgrades

2007-07-26 Thread John Hall
I'm in the process of migrating my installer from InstallShield to WiX 3. As part of this I have reorganised and rationalised the features in the product. When I come to do a major upgrade from the old installation to my new one, all of the features in my product in the customize dialog are unsel

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> I have tried prefexing # for all the DWORD types but after > running the MSI i see that the registry is getting updated as > type REG_SZ Looks like I misled you - the RegistryValue element has a 'Type' attribute, which you can set to 'integer': Cheers, John --

Re: [WiX-users] WixUI_Mondo

2007-07-26 Thread John Hall
> I am trying to use wix for installation of my product .When > i try to use the UI wizard in my wxs file by using the > following lines: > > > > > > I get the fillowing error while linking : > unresolved reference to the symbol 'WixUI: > WixUI_ErrorProgressText' in the section > > Pro

Re: [WiX-users] Problem writing registry values

2007-07-26 Thread John Hall
> It seems that MSI cannot write REG_DWORD type values to > registry..Wht is the workaround for this? Anidil, The documentation for the registry table in MSI says: "This column is the localizable registry value. The field is Formatted. If the value is attached to one of the following prefixes (

[WiX-users] Unknown preprocessor statements

2007-07-25 Thread John Hall
Should the WiX preprocessor give an error if there is a statement that it does not recognise? I just spent some time tracking down a problem, which eventually came down to me using rather than . An error message saying - Thi

Re: [WiX-users] What determines the order of shortcuts

2007-07-24 Thread John Hall
My understanding is that the order that shortcuts appear is usually alphabetical. But ultimately it is a user-setting. Schortcut groups are just folders and I believe that the arrange by setting applies. Windows does store some special metadata about ordering though, since you can drag

[WiX-users] FeatureGroups

2007-07-23 Thread John Hall
Hi, I tried to use a FeatureGroup to group some dependent merge modules together, but it didn't work, so I would like to check that I was using the correctly. I have something like the following in a Fragment:

Re: [WiX-users] Directories and Components

2007-07-23 Thread John Hall
> Is this possible? Ie. is there a way to reduce the number of > components I must have? Or is the way I'm currently doing it > the most efficient way to do multiple directories? Sadly a component can only contain files in one directory. You could use heat to automate the gathering of the files

Re: [WiX-users] How to deploy all the files inside the folder rather than specifying each files

2007-07-23 Thread John Hall
To: John Hall Subject: RE: [WiX-users] How to deploy all the files inside the folder rather than specifying each files Hi John, Thanks for your inputs. I appreciate if you could send me sample code that you have written.

[WiX-users] Companion Files

2007-07-19 Thread John Hall
Hi, I'm trying to set the CompanionFile attribute of a file, something like this: This doesn't seem to work. If I look at the generated File table, the companion file contains its version, not 'parent' as I would expect. Am I using the CompanionFile attribute correctly? Cheers, Jo

Re: [WiX-users] setup.exe has no icon?

2007-07-16 Thread John Hall
Weekly releases of WiX are available at http://wix.sourceforge.net/releases/. Is there an easy way to find out what is changed from release to release? The history.txt file looked promising, but it is not always updated from release to release, and is just a list of changes -

Re: [WiX-users] Checkbox that won't check or un-check

2007-07-16 Thread John Hall
Microsoft certainly doesn't like to make things easy do they? I assume though that if someone in the WMF group clued in to using MSI that they might also have the foresight to provide a merge module for the redistributables. Kind of like they should have years ago. How

[WiX-users] Proper use of heat on a COM control

2007-07-13 Thread John Hall
I'm starting to build an installer for an application that includes a number of VB6 authored OCX controls. It seems that the correct way to capture COM registration data for these OCXs is to use 'heat file ...', which seems to generate nice Wix fragments. I want to call heat as part of the build

Re: [WiX-users] Installing dotnet framework along with your MSI package

2007-07-05 Thread John Hall
I've been looking at bootstrappers recently, and I settled on dotNetInstaller, an open source program at http://www.devage.com/Wiki/ViewArticle.aspx?name=dotnetinstaller. It will install as many prerequisites as you need. It is well written and easy to modify (despite most of the comments being i

Re: [WiX-users] Best Way to Include MSVCRT 80 Dependencies

2007-06-29 Thread John Hall
Steve, What's the best way to include the Microsoft Visual Studio 2005 CRT dependencies? I want to include the debug versions for my debug build. I've tried using the standard MSM files but I get a bunch of warnings. I have the following WXS code: This blog entry: http://blogs.msdn.com

Re: [WiX-users] Best Way to Include MSVCRT 80 Dependencies

2007-06-29 Thread John Hall
> We just install the redistributables alongside our main exes. > Not sure you're allowed to do that for the debug versions, though. The EULA prohibits redistributing the debug versions according to this: http://blogs.msdn.com/nikolad/archive/2005/09/02/running-c-application-b uilt-by-vc-expres

  1   2   >