Re: [WiX-users] Vista, UAC off, registry writes virtualized

2012-01-22 Thread Dan Gough
SPAM! On Sun, Jan 22, 2012 at 12:58 PM, rrrmmm wrote: > Check this ( > > http://www.articlewritingclicks.com/Dll_Errors/Bhodll_Errors__Download_this_Repair_Tool_to_Fix_it.html > bho.dll download ) post... for fixes > > -- > View this message in context: > http://windows-installer-xml-wix-to

[WiX-users] Anyone know how to use AppSecInc's Win32_WriteFile custom action?

2012-01-21 Thread Dan Gough
Hi, I'm trying to use this custom action so far without success as I don't know how to pass the parameters to it. http://code.dblock.org/Source/msiext/1.2/Docs/_win32_impl_8h.html#a427b16cc4d6285c4eac3227ac5723050 CA_API UINT __stdcall Win32_WriteFile ( MSIHANDLE hInstall ) Write to an ANSI text

Re: [WiX-users] Icon for util:InternetShortcut

2012-01-18 Thread Dan Gough
Seems to be working now after adding empty IniFile entry for IDList, using [~] to specify a null value (as the schema does not allow null values): On Wed, Jan 18, 2012 at 1:06 PM, Dan Gough wrote: > I've got it semi working: > > > > Directory=&quo

Re: [WiX-users] Icon for util:InternetShortcut

2012-01-18 Thread Dan Gough
aybe a bug in Windows, or maybe something to do with the last Prop3 value as I don't know what that's for! Regards, Dan On Tue, Jan 17, 2012 at 2:48 PM, Dan Gough wrote: > You can try writing your URL file from the IniFile table instead, as .URL > files are in INI format. I am going

Re: [WiX-users] Icon for util:InternetShortcut

2012-01-17 Thread Dan Gough
You can try writing your URL file from the IniFile table instead, as .URL files are in INI format. I am going to try exactly this later on today, I've done it before (but not in WiX) so it should work. I'll post my sample code if you need me to. Regards, Dan On Sun, Jan 15, 2012 at 4:32 AM, Bob

Re: [WiX-users] XmlFile element issues - any XPath experts out there?

2012-01-17 Thread Dan Gough
nts make sure you set @SelectionLanguage to XPath. The > obsolete XSLPattern default value uses a now obsolete predecessor to XPath > for the pattern matching. > > Blair > > -Original Message----- > From: Dan Gough [mailto:goug...@gmail.com] > Sent: Wednesday, January 11,

Re: [WiX-users] Adding Internet Explorer Context Menu item for all users in a per machine install

2012-01-12 Thread Dan Gough
Or try applying the key to HKLM rather than HKCU in the first place. Many Windows settings can apply to either key to give you the flexibility of having each setting system-wide or per-user. On Thu, Jan 12, 2012 at 9:34 PM, Christopher Painter wrote: > The Registry element has a Root attribute

[WiX-users] Custom action to search and replace text in a file?

2012-01-12 Thread Dan Gough
Hi, I'm trying to find/replace text in an installed file without resorting to vbscript. It's not an XML or INI file. I've tried the TemplateFile action from the AppSecIn extensions on CodePlex, but it does not work in the way that I want. Does anybody have a C++ custom action dll for this they

Re: [WiX-users] XmlFile element issues - any XPath experts out there?

2012-01-11 Thread Dan Gough
D'oh - solved. I was incorrectly escaping the square brackets, using a forward slash instead of a backslash! All working great now. Dan On Wed, Jan 11, 2012 at 3:43 PM, Dan Gough wrote: > Hi, > > I've successfully set up a few xml file configuration items using the >

[WiX-users] XmlFile element issues - any XPath experts out there?

2012-01-11 Thread Dan Gough
Hi, I've successfully set up a few xml file configuration items using the XmlFile element, but I have an instance that is not working as expected, hopefully somebody out there can help! This is a cut down sample of my xml file: UPDATEME U

Re: [WiX-users] Anybody using Paraffin?

2012-01-11 Thread Dan Gough
affin file? I may have a go myself since I have the source, but my C# is very rusty and haven't used LINQ before! Anybody come across this problem and have a solution already? Cheers, Dan On Wed, Jan 11, 2012 at 11:55 AM, Dan Gough wrote: > Just tried again and the XmlFile tags are no

Re: [WiX-users] Anybody using Paraffin?

2012-01-11 Thread Dan Gough
Just tried again and the XmlFile tags are no longer being removed, must have made a mistake somewhere! Also confirmed that test values for registry and service entries are left untouched also. Plodding on, wish me luck! Cheers, Dan On Wed, Jan 11, 2012 at 11:33 AM, Dan Gough wrote: >

Re: [WiX-users] Anybody using Paraffin?

2012-01-11 Thread Dan Gough
fact I learned that MISInstaller > prefers each file have its own component, I used paraffin to group by > directory. When we stich over to a major release I will adjust my scripts > to conform to default behavior. > > I also like that you can dig into the source code. It i

[WiX-users] Anybody using Paraffin?

2012-01-10 Thread Dan Gough
Hi, I want to have my automated WiX build automatically pick up the occasional new file (and drop the odd deleted one) without regenerating any component GUIDs. I've found this tool named Paraffin that's designed to solve the problem, but it hasn't been updated in a while: http://www.wintellect.

Re: [WiX-users] Changing Directory/Component/File IDs into friendlynames

2012-01-10 Thread Dan Gough
Thanks, that works - didn't spot that option yesterday! On Tue, Jan 10, 2012 at 10:51 AM, David Watson wrote: > Try the -suid heat option... > > We tend to use > -nologo -suid -srd -sfrag -ag -wx > > > -Original Message- > From: Dan Gough [mailto:goug...@

[WiX-users] Changing Directory/Component/File IDs into friendly names

2012-01-09 Thread Dan Gough
Hi, First time WiX user, just generated my first output today from heat.exe for a fairly large installer I am working on. Does anybody know of any script or other means to convert the unique IDs generated for directories, files and components into more friendly names? Thanks, Dan ---

Re: [WiX-users] Removing through the UI mode does not prompt for privileges

2011-12-21 Thread Dan Gough
I'm new to WiX so don't know how to do it, but I think you need the elevation shield attribute 0x0080 set in the Control table on the button used to uninstall the application. Try editing the msi package using InstEd to see if it fixes the problem, then you can figure out how to achieve it in