Re: [WiX-users] DIFxApp and upgrades

2013-01-16 Thread James Johnston
This MSKB article discusses how to do it: http://support.microsoft.com/kb/259697 > -Original Message- > From: Shane Corbin [mailto:shane_cor...@selinc.com] > Sent: Friday, January 11, 2013 22:49 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] DIFxApp and upgrades > > I'm

Re: [WiX-users] DIFxApp and upgrades

2013-01-11 Thread James Johnston
ly telling customers how to do a full > repair on a case by case basis as this occurs. Did anyone ever find a fix for > this? > > Thanks, > Rob > > On 29/11/2010 21:23, James Johnston wrote: > > Hi, > > > > A couple questions, both regarding DIFxApp. (We

Re: [WiX-users] Installing a driver in Win 7

2013-01-08 Thread James Johnston
What's wrong? You're DPInst. Use DIFxApp, not DPInst. DIFxApp was designed for MSI; you're trying to fit a square peg into a round hole using DPInst. For example, have you considered whether your MSI works correctly in a rollback situation? Uninstall? Repair? Situations where the user interf

Re: [WiX-users] DIFxApp

2012-11-16 Thread James Johnston
Maybe the driver is not WHQL signed? I'm not sure why you wouldn't have the same issue with DPInst, however. I was under the impression that the various DIFX methods (DPInst, DIFxApp, DIFxAPI) would all call the same underlying code to perform the driver install. Seems like anything else would b

Re: [WiX-users] Broken links on WiX web site

2012-10-15 Thread James Johnston
et. > Subject: Re: [WiX-users] Broken links on WiX web site > > We do, can you please file a bug? > > On Fri, Oct 12, 2012 at 9:15 AM, James Johnston soft.com>wrote: > > > Hi, > > > > The page at: > > http://wix.sourceforge.net/manual-wix3/WixUI_di

[WiX-users] Broken links on WiX web site

2012-10-12 Thread James Johnston
Hi, The page at: http://wix.sourceforge.net/manual-wix3/WixUI_dialog_library.htm contains some broken links. Specifically, WixUI_Mondo and WixUI_Minimal are broken (404 Not Found). Not sure who maintains the web site so I'm writing to this list... Best regards, James Joh

Re: [WiX-users] DIFxApp and upgrades

2012-10-09 Thread James Johnston
> -Original Message- > From: Shane Corbin [mailto:shane_cor...@selinc.com] > Sent: Friday, October 05, 2012 18:07 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] DIFxApp and upgrades > > Hey James, > > Did you ever get any resolution to your problem regarding scanning for

Re: [WiX-users] wix ftdi drivers‏

2012-09-17 Thread James Johnston
> -Original Message- > From: Branko Horvat [mailto:branko_hor...@hotmail.com] > Sent: Monday, September 17, 2012 14:14 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] wix ftdi drivers‏ > > > > > My driver msi is now set to perMachine installation. When I comment both

Re: [WiX-users] wix ftdi drivers

2012-09-14 Thread James Johnston
> James, > > I realised the RemoveFolder tags are necesary because I am installint into > userprofile, not for all users on a computer as I hope it want ask admin > permission to install. 1. Drivers run in kernel mode and have complete control over everything on the computer at the lowest level.

Re: [WiX-users] wix ftdi drivers

2012-09-13 Thread James Johnston
> -Original Message- > From: Branko Horvat [mailto:branko_hor...@hotmail.com] > Sent: Thursday, September 13, 2012 12:57 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] wix ftdi drivers > > > >> C:\Users\hob\Documents\WiX\ftdiinstall.wsx(29) > >> C:\Users\hob\Documents\Wi

Re: [WiX-users] wix ftdi drivers

2012-09-12 Thread James Johnston
Some comments below; they may not fix your problem, but point to other issues in the WXS: > -Original Message- > From: Branko Horvat [mailto:branko_hor...@hotmail.com] > Sent: Wednesday, September 12, 2012 09:27 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] wix ftdi drivers

Re: [WiX-users] WiX joins the Outercurve Foundation

2012-08-20 Thread James Johnston
Another concern might be slight alterations of the user interface. For example, suppose I want to slightly modify one of the user interface templates. I've read it's recommended to copy/paste a small snippet of user interface WiX code into my project and customize it. Does that mean my entire se

Re: [WiX-users] How to mix 32bit driver and 64bit driver into same package?

2012-06-26 Thread James Johnston
Did you just miss the discussion that has been going on at this exact same moment? Someone else is trying to do the same thing as you with DPInst. Sorry, but your approach is broken. I doubt you're considering many of the intricacies of Windows Installer. Read my response at the end of http://s

Re: [WiX-users] custom action with administrator privileges

2012-06-25 Thread James Johnston
> -Original Message- > From: nejiba [mailto:nejiba.ta...@gmail.com] > Sent: Monday, June 25, 2012 09:26 > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] custom action with administrator privileges > > Re > I was following the tutorial here: > http://www.codeproject.com/KB/l

Re: [WiX-users] How to mix 32bit driver and 64bit driver into same package?

2012-06-25 Thread James Johnston
> -Original Message- > From: tzleon [mailto:tzl...@gmail.com] > Sent: Monday, June 25, 2012 06:52 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] How to mix 32bit driver and 64bit driver into same > package? > > I wish to mix 32bit driver and 64bit driver into same package, bu

Re: [WiX-users] DIFxApp driver files in multiple directories

2012-06-25 Thread James Johnston
> -Original Message- > From: Frank Jenner [mailto:frank8...@gmail.com] > Sent: Friday, June 22, 2012 19:29 > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] DIFxApp driver files in multiple directories > > I'm attempting to use the WixDifxAppExtension to in

Re: [WiX-users] Windows Installer 3.1 or 4.5 for XP?

2012-06-12 Thread James Johnston
> -Original Message- > From: Don Walker [mailto:don.wal...@versaterm.com] > Sent: Tuesday, June 12, 2012 15:56 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Windows Installer 3.1 or 4.5 for XP? > > I'm likely to be supporting installs on Windows XP until past the MS end of >

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-05-09 Thread James Johnston
> -Original Message- > From: Rob Mensching [mailto:r...@robmensching.com] > Sent: Wednesday, May 09, 2012 05:44 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid > Win32 application" > > To pass a secur

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-05-04 Thread James Johnston
You might find the bootstrapper in Visual Studio 2008 to be useful. We're using it to deal with the .NET Framework 2.0 prerequisite, and it works fine even on Win XP RTM (untested on Win2K). (.NET 2.0 is the minimum we require because Vista RTM includes .NET 2.0, so prerequisite install is only n

Re: [WiX-users] Bundle fails on WIN2K machine ".exe is not a valid Win32 application"

2012-05-02 Thread James Johnston
http://www.netmarketshare.com/operating-system-market-share.aspx?qprid=11&qp customb=0&qptimeframe=M&qpsp=149&qpnp=11 ^-- Source of my data in this message... That is something that has been bugging me too while reading this discussion. So my random thoughts on this topic of OS compatibility...

Re: [WiX-users] Wow!

2012-03-07 Thread James Johnston
crosoft's apparent direction as well, The latest SSDT (SQL Development Tools) uses the same methodology of the /layout switch. http://msdn.microsoft.com/en-us/data/hh297027 John -Original Message- From: James Johnston [mailto:johnst...@inn-soft.com] Sent: Tuesday, March 06

Re: [WiX-users] Wow!

2012-03-06 Thread James Johnston
And this is why there needs to be a simple "off-line bundle" file ready to download. Seems like it shouldn't be too hard to include in the WiX build process, and would make a lot of people's lives easier. Realistically, I don't think there's a better solution than utilizing the built-in file down

Re: [WiX-users] Wow!

2012-03-05 Thread James Johnston
Also agree 100% on this for the reasons Chris mentions. The rest of this message is my (perhaps strong) opinion on web setups. Web setups for development tools in general encourage bad habits. It might not be such a big deal with "consumer" software on home computers, like Acrobat Reader & compa

Re: [WiX-users] difx extension and perMachine installs

2012-01-18 Thread James Johnston
You may have signed with your self-signed certificate, and you may even have added it to some random place in the certificate store, but your driver isn't WHQL signed. Please review these topics, depending on what your operating system is: http://msdn.microsoft.com/en-us/library/ff543654(VS.85).as

Re: [WiX-users] difx extension and perMachine installs

2012-01-17 Thread James Johnston
"The driver will be signed for production; it just isn't at the moment" It doesn't matter what will eventually be done. What matters is that your driver is not currently signed. The Legacy option / Windows can't see into the future and know that you're eventually going to sign it. "I shouldn't

Re: [WiX-users] difx extension and perMachine installs

2012-01-16 Thread James Johnston
Did you remember to set the Legacy attribute to "yes" on your Driver element? See http://wix.sourceforge.net/manual-wix3/difxapp_xsd_driver.htm for more info. Specifically: "Legacy YesNoTypeIf set to "yes", configures DIFxApp to install unsigned driver packages and driver packages with m

Re: [WiX-users] DIFxAPP and Properties question

2011-12-21 Thread James Johnston
If I remember correctly, the justification for adding dedicated driver entries to ARP is so that if the driver causes the computer to fail to boot into normal mode, you can still uninstall the driver in safe mode. You can't use Windows Installer in safe mode, so the only mechanism would be the ded

Re: [WiX-users] Identifying Features that have been installed

2011-08-25 Thread James Johnston
You could always use the COM library if you're not comfortable with the C API calls. Add a COM reference to "Microsoft Windows Installer Object Library" to your project... Installer.get_Features and Installer.get_FeatureState look like they might be useful. -Original Message- From: Anil

Re: [WiX-users] WiX Wrappers: For or against?

2011-08-22 Thread James Johnston
I second the vote for WixEdit. I used it when first setting up my installer. Helped me learn WiX to some extent. Now that the files are littered with preprocessor commands and I only make small, minor changes, I find it easier to edit the WXS files directly in a text editor. One thing I feel is

Re: [WiX-users] Registry permissions are not inherited

2011-08-08 Thread James Johnston
for the new feature? Or does the code need more work? It would be nice to not have to constantly merge an old patch with every new version of WiX. :) Best regards, James Johnston -Original Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: Saturday, August 06, 20

[WiX-users] Registry permissions are not inherited

2011-08-05 Thread James Johnston
to do to achieve my goal of having the "Everyone" entry propagate to the subkeys created by MSI - as outlined in my list of desired ACLs? I realize I could probably add duplicate "Permission" elements to the registry values bei

Re: [WiX-users] DIFxApp does not properly rollback to the old driverwhen doing a major upgrade

2011-07-01 Thread James Johnston
ming a repair > fixed things. Did you email the difx team at the email address Quinton suggested, and if so, did you ever hear anything back. > > Thanks, > Rob > > On 10/12/2010 20:37, James Johnston wrote: >> Seeing as how this seems to be a fundamental problem with DIFxAp

Re: [WiX-users] Windows 7 MSI privileges

2011-03-17 Thread James Johnston
A list of reasons why not to use selfreg: http://msdn.microsoft.com/en-us/library/aa371608(VS.85).aspx -Original Message- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: Thursday, March 17, 2011 10:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-

Re: [WiX-users] Problem with RemoveExistingProducts action

2011-02-25 Thread James Johnston
ave bbb.dll version 1.5... On Tue, Feb 22, 2011 at 9:13 PM, James Johnston wrote: > In that case you have to be following component rules. See > http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/ Also with > your placement, if the old version fails to uninstall then the user >

Re: [WiX-users] Problem with RemoveExistingProducts action

2011-02-22 Thread James Johnston
In that case you have to be following component rules. See http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/ Also with your placement, if the old version fails to uninstall then the user will have both old & new versions installed - something to keep in mind. Try putting it after Install

Re: [WiX-users] write to IniFile

2011-02-21 Thread James Johnston
http://msdn.microsoft.com/en-us/library/aa369282(VS.85).aspx "DirProperty Name of a property having a value that resolves to the full path of the folder containing the .ini file. The property can be the name of a directory in the Directory table, a property set by the AppSearch table, or any other

Re: [WiX-users] Dynamically set WixVariable WixUILicenseRtf

2011-02-18 Thread James Johnston
Oh wow... Right now we just change it in our build script when calling light: light -dWixUILicenseRtf=SupportFiles/License_${language}.rtf Which is also unnecessarily kludgy; that information really should be in the localization file but at the time I didn't figure out how (that blog entry was

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread James Johnston
the SYSTEM context will be able to decrypt the data. If an attacker already has access to the SYSTEM context then it's already Game Over. Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com P Please consider t

Re: [WiX-users] Encrypt and store the SQL sa password in the windows registry

2011-02-16 Thread James Johnston
Isn't storing the administrator password for a server in the registry a terrible idea? This is setting off all kinds of alarm bells in my mind... Even if you "encrypt" it, I would think it would still be easy enough to recover the plaintext just by finding the key in the MSI file and then decrypti

Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.

2011-02-10 Thread James Johnston
lset. Subject: Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name. INF file doesn't specify cat-file (only DLL and SYS). This problem appear for only one PC configuration. Ok, I'll try install this driver using DPInst and I'll read the topic. Thanks a lot. 10.02.2011

Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.

2011-02-10 Thread James Johnston
alculate strong name. Wix code for my driver: Driver isn't WHQL signed. And... typical error message for missed cat file is: DIFXAPP: ERROR: Failed to calculate strong name from 'file-path'. This error message doesn't contain file path. Thanks! 10.02.2011

Re: [WiX-users] DIFXAPP: ERROR: Failed to calculate strong name.

2011-02-10 Thread James Johnston
http://www.advancedinstaller.com/forums/viewtopic.php?f=2&t=2820 Maybe there are some issues with the driver package itself? i.e. bad/missing catalog file. Be sure that the driver files is completely installed & that all required files are in the appropriate locations. If the driver isn't WHQL

Re: [WiX-users] DIFxApp does not properly rollback to the old driverwhen doing a major upgrade

2010-12-10 Thread James Johnston
able so I conclude they do something else). Best regards, James Johnston -Original Message- From: Quinton Tormanen [mailto:quint...@deltamotion.com] Sent: Friday, December 10, 2010 17:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] DIFxApp does not prop

[WiX-users] DIFxApp does not properly rollback to the old driver when doing a major upgrade

2010-12-09 Thread James Johnston
is shown as "{driver component GUID}" because I removed the actual GUID from this public e-mail list. * Large portions of the log file were removed; only relevant data was included. Line numbers are sometimes indicated as "Line XYZ:". * If lines were removed, this is indi

Re: [WiX-users] How do you fix this error? (id is too long, 72 characters max)

2010-12-06 Thread James Johnston
Windows Installer limits directory identifiers to 72 characters max; that ID is 73 chars. http://msdn.microsoft.com/en-us/library/aa368295(VS.85).aspx You can see this in ORCA by running Orca, making a new MSI file and adding the Directory table. Then Adjust Schema and look at the data type of t

Re: [WiX-users] What version of DIFxApp is in DIFxAppExtension?

2010-12-06 Thread James Johnston
(You can just open the difxapp_.wixlib files in 7-Zip to get to the DLLs; I believe they are just MS cabinet files with some XML appended. No need to look at WiX source code; just extract and rename.) >From the OP: "It would also be good if someone could verify with the DIFxApp team that WiX shou

Re: [WiX-users] cabbing for both 32-64-bit files

2010-12-06 Thread James Johnston
iginal Message- From: Rob Mensching [mailto:r...@robmensching.com] Sent: 04 December 2010 07:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] cabbing for both 32-64-bit files Fredrik is working on Burn. Therefore, it rocks! On Fri, Dec 3, 2010 at 10:06 AM,

Re: [WiX-users] packaging large number of files

2010-12-06 Thread James Johnston
I was also immediately concerned with the serviceability ramifications as outlined by Rob below. What kind of files are being installed? With some applications there might not be much you can do about it. But for other applications, you can do a lot. For example, the video game industry will co

Re: [WiX-users] cabbing for both 32-64-bit files

2010-12-03 Thread James Johnston
/www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -Original Message- From: James Johnston [mailto:johnst..

Re: [WiX-users] cabbing for both 32-64-bit files

2010-12-03 Thread James Johnston
then used a bundle to deal with the extraction/running the msi? Cheers Sean. -Original Message- From: James Johnston [mailto:johnst...@inn-soft.com] Sent: 02 December 2010 22:01 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] cabbing for both 32-

Re: [WiX-users] cabbing for both 32-64-bit files

2010-12-02 Thread James Johnston
I wanted a unified self-extracting EXE for both 32- and 64-bit versions. What I wound up doing was this: 1. The build script combined with WiX conditional compilation / preprocessor was used to compile to two different MSI files: one 32-bit and one 64-bit. Each was compiled individually. (For e

Re: [WiX-users] Saving the MSI file

2010-12-01 Thread James Johnston
e a hot tip, know a secret or read a really good thread that deserves attention? E-Mail Me - Original Message From: James Johnston To: General discussion for Windows Installer XML toolset. Sent: Wed, December 1, 2010 1:36:12 PM Subject: Re: [WiX-users] Saving the MSI file I thought about th

Re: [WiX-users] Registry Question...

2010-12-01 Thread James Johnston
Familiarize yourself with http://msdn.microsoft.com/en-us/library/ms724072(VS.85).aspx If you don't want your entry to go in the 32-bit entry then you have to specify Win64="yes" on your component, but this makes / requires your MSI to be supporting 64-bit. 32-bit apps don't need to worry about W

Re: [WiX-users] Saving the MSI file

2010-12-01 Thread James Johnston
I thought about this but decided against it for some of the security reasons you outline; I did not think it appropriate for the UAC prompt to appear immediately upon running the bootstrapper. The UAC prompt really should not be presented until the user clicks the "Install" button in the UI to act

Re: [WiX-users] DIFxApp and upgrades

2010-12-01 Thread James Johnston
lakies until after release. This is what is behind http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg42650.htm l. --Quinton -Original Message- From: James Johnston [mailto:johnst...@inn-soft.com] Sent: Tuesday, November 30, 2010 8:43 AM To: 'General discussion for Windows In

Re: [WiX-users] DIFxApp and upgrades

2010-11-30 Thread James Johnston
tly MSI can't be invoked from Safe Mode). Is this still good advice? Otherwise it just seems like unnecessary clutter in ARP. DeleteFiles="no" is the default; I included it anyway just to be explicit. Documentation says it's not supported any more on Windows 7... Best regar

[WiX-users] DIFxApp and upgrades

2010-11-29 Thread James Johnston
is scenario? Does a custom action already exist for this? Am I doing something wrong with DIFx (i.e. do I need to change my usage of DIFx instead of write a custom action)? If anyone has so much as even heard of either of the issues above, I would be grateful for some advice or

[WiX-users] DIFxApp and upgrades

2010-11-29 Thread James Johnston
is scenario? Does a custom action already exist for this? Am I doing something wrong with DIFx (i.e. do I need to change my usage of DIFx instead of write a custom action)? If anyone has so much as even heard of either of the issues above, I would be grateful for some advice or