Re: [WiX-users] Writing a dual-purpose managed bootstrapper

2015-05-19 Thread Rob Mensching
Jeff Tyson [mailto:jeff.ty...@microsoft.com] Sent: Thursday, May 14, 2015 11:00 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing a dual-purpose managed bootstrapper Hello, I am trying to build a managed bootstrapper that can install as both per-user and per-machine. In the dual-purpose MSI

[WiX-users] Writing a dual-purpose managed bootstrapper

2015-05-14 Thread Jeff Tyson
Hello, I am trying to build a managed bootstrapper that can install as both per-user and per-machine. In the dual-purpose MSI I set the package scope to "perUser": In the bundle I have Finally in the managed bootstrapper, if the user is an administrator, I set the MSI

Re: [WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Nir Bar
In C++ to test the C# equivalent of string.IsNullOrEmpty() you should do: if(( p == NULL) || (*p == NULL)) To sprintf a wide string you should use "%ls" Note that creating a file during an immediate custom action is against Windows Installer methodology. The correct way should consist of 3 custom

Re: [WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Jeremy Farrell
Your checks for an empty string are wrong - constructs like ip == L"" need to be *ip == 0 or similar. Check the documentation for the sprintf() implementation you're using. In Standard C %s is for a normal character string but you're using it for wide character strings - that would e

Re: [WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Sarvagya Pant
aviour > (crashes, access violations, etc.) if I don't. This is true when running > in VS2010 and VS2013 compilers. > > -Original Message- > From: Sarvagya Pant [mailto:sarvagya.p...@gmail.com] > Sent: March-13-15 1:40 PM > To: General discussion about the WiX toolset

Re: [WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Tunney, Stephen
Pant [mailto:sarvagya.p...@gmail.com] Sent: March-13-15 1:40 PM To: General discussion about the WiX toolset. Subject: [WiX-users] Writing a C++ Custom Action Project I have written a C# Custom Action that is supposed to get the Values of Properties passed to the installer and create some config

[WiX-users] Writing a C++ Custom Action Project

2015-03-13 Thread Sarvagya Pant
I have written a C# Custom Action that is supposed to get the Values of Properties passed to the installer and create some config file. Since the C# Custom action was done, my installer depends upon .Net too. I want to avoid this dependency, thus I am opting to write the Custom action in C++. Foll

Re: [WiX-users] Writing to 64-bit registry hive from 32-bit msi

2014-11-21 Thread wixtester
Thank you. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Writing-to-64-bit-registry-hive-from-32-bit-msi-tp7598189p7598194.html Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] Writing to 64-bit registry hive from 32-bit msi

2014-11-21 Thread wixtester
Hi, I am writing a 32-bit msi to run on x86 and x64 OS. When run on 64-bit Operating system, I want it to write to 64-bit registry hive, the windows auto logon settings (AutoAdminLogon=1, DefaultUserName=AAA, DefaultPassword=BBB). Can I accomplish this in wix installer ? I do not have the o

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
..lol) Thanks for all your replies. Natalie -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: 20 May 2013 13:47 To: chr...@iswix.com; 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Writing a WiX tutorial I had no experienc

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Alain Forget
least post this newer tutorial somewhere? Alain -Original Message- From: Christopher Painter [mailto:chr...@iswix.com] Sent: May 20, 2013 08:37 To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Writing a WiX tutorial L

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Christopher Painter
#x27;s not my job to teach someone how to be a setup developer when I give my two weeks notice. It isn't possible in that amount of time. From: "Natalie Carr" Sent: Monday, May 20, 2013 3:36 AM To: wix-users@lists.sourceforge.net Subject: [Wi

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
Installer XML toolset. Subject: Re: [WiX-users] Writing a WiX tutorial Hi Natalie, Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to emulate this, since it's a good tutorial for general use, but you may want one tailored to your team and your product. You should include t

Re: [WiX-users] Writing a WiX tutorial

2013-05-20 Thread John Ludlow
Hi Natalie, Have you seen the tutorial at http://wix.tramontana.co.hu/? You may want to emulate this, since it's a good tutorial for general use, but you may want one tailored to your team and your product. You should include topics on things that you use (for example, Burn, patching and early REP

[WiX-users] Writing a WiX tutorial

2013-05-20 Thread Natalie Carr
Hi, I have been asked to write a WiX tutorial for my colleagues to take over my role when I leave. Has anyone written anything like this that they would be willing to help me out with? I am using the WiX tutorial online but would like your opinions on what I should include. Thanks Natalie

Re: [WiX-users] Writing registry entry with value = (my app's install directory) and (my app's executable path after installation).

2013-04-27 Thread Rob Mensching
Seems reasonable. On Fri, Apr 26, 2013 at 10:28 PM, uni wrote: > I wrote registry entry like below, > Key="Software\Microsoft\Windows\CurrentVersion\App Paths\MyApp.exe"> > KeyPath="yes"/> > Value="[$CMP_MyApp]"/> > > > It works but I'm not sure if it is approprite. > > Need some suggestion

[WiX-users] Writing registry entry with value = (my app's install directory) and (my app's executable path after installation).

2013-04-26 Thread uni
I wrote registry entry like below, It works but I'm not sure if it is approprite. Need some suggestions,thanks. -- Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application perfo

[WiX-users] Writing registry after deferred custom action

2012-10-28 Thread Ravi Raj
My deferred action set some property and from here I want to write this value to the registry using WiX (and not inside custom action using C#, so that it gets removed automatically during uninstall). How can I do this? -- Thanks and Regards, Ravi Raj -

Re: [WiX-users] Writing custom actions that run on windows 9x/me

2012-09-03 Thread Rob Mensching
Dutil explicitly uses the Unicode functions. Haven't written code for 9x in many years, not sure how much work it'd take to get things working back there. On Sun, Sep 2, 2012 at 2:16 AM, Sean Farrow wrote: > Hi: > I've had a user come to me wanting an installer written that must run on > windows

[WiX-users] Writing custom actions that run on windows 9x/me

2012-09-02 Thread Sean Farrow
Hi: I've had a user come to me wanting an installer written that must run on windows 9x. I have two questions: Firstly, are the function written in Dutil.lb etc all Unicode or do they adapt based on he defines. Ideally I'd like to use mslu to deal with this. Secondly, do I need to distribute mslu

Re: [WiX-users] Writing Registry Value from Custom Action

2012-06-18 Thread Ravi Raj
I am also thinking this way but was not sure any other (better) way of doing this. But thanks for your valuable suggestions. On Mon, Jun 18, 2012 at 1:31 PM, Dirk Räder wrote: > Hi, > > I'd take the usual way: > Define some properties that hold the path to the registry key(s) and > the desired v

Re: [WiX-users] Writing Registry Value from Custom Action

2012-06-18 Thread Dirk Räder
Hi, I'd take the usual way: Define some properties that hold the path to the registry key(s) and the desired value(s). Access these properties within your CA and you should be fine. This way, you can reuse the CA for more than one installer without changes to its source code. Kind regards, Dirk

[WiX-users] Writing Registry Value from Custom Action

2012-06-18 Thread Ravi Raj
I want to store some registry value within the custom action. There are some other registry I also write via WiX. Within Custom Action, I have to get the path of registry key so that I can add a new string into it but I am not sure what will be the best way to do so this. Any suggestions?? -- Th

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread T. Kuro Kurosaka
On 1/13/12 7:28 AM, Peter Shirtcliffe wrote: > Why not check it when the application starts up ? The product in question runs as a service. There is no GUI. The Java wrapper could only log the error and quit. For that reason, the product marketing tells us we should check the prerequisite softw

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread John Cooper
ginal Message- From: Mike Rerick [mailto:mrer...@iwsinc.com] Sent: Friday, January 13, 2012 9:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip The app being installed is a Java app. Can'

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
llation option that > modifies the product code. > > -Original Message- > From: Mike Rerick [mailto:mrer...@iwsinc.com] > Sent: 13 January 2012 15:38 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Writing JDK version verification cod

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Peter Shirtcliffe
riginal Message- From: Mike Rerick [mailto:mrer...@iwsinc.com] Sent: 13 January 2012 15:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip The app being installed is a Java app. Can't run it without

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
27;ll be easier to code > and > the user has the option of installing Java after your product instead of > forcing it to be done beforehand. > > -Original Message- > From: T. Kuro Kurosaka [mailto:k...@basistech.com] > Sent: 12 January 2012 23:50 > To: wix-users@l

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Peter Shirtcliffe
50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing JDK version verification code,and Wix debugging tip Wix & MSI newbie here. My product requires JDK 1.6 installation, and I'm trying to come up with Wix code to verify the system has JDK 1.5 installed before proceeding inst

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-13 Thread Mike Rerick
You might need a custom > action. > > > > From: "T. Kuro Kurosaka" > > Sent: Thursday, January 12, 2012 6:21 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Writing JDK version verification code, an

Re: [WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-12 Thread Christopher Painter
21 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing JDK version verification code, and Wix debugging tip Wix & MSI newbie here. My product requires JDK 1.6 installation, and I'm trying to come up with Wix code to verify the system has JDK 1.5 installed before proceeding in

[WiX-users] Writing JDK version verification code, and Wix debugging tip

2012-01-12 Thread T. Kuro Kurosaka
Wix & MSI newbie here. My product requires JDK 1.6 installation, and I'm trying to come up with Wix code to verify the system has JDK 1.5 installed before proceeding installation of my product. I thought this would work: But this didn't work. Even if JDK 1.5 is installed, this messa

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-15 Thread Michael Ganz
orge.net > Betreff: Re: [WiX-users] Writing to ProgramFolder with Custom Action > Dll in C++ > > On 14-Jul-11 18:31, Michael Ganz wrote: > > MsiGetPropertyA(hInstall, "INSTALLDIR", > _pcKeyPath,&_dKeyPathLen); > > ... > > MsiSetPropertyA(h

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-15 Thread Bob Arnson
On 14-Jul-11 18:31, Michael Ganz wrote: > MsiGetPropertyA(hInstall, "INSTALLDIR", _pcKeyPath,&_dKeyPathLen); > ... > MsiSetPropertyA(hInstall, "KEYWRITESUCCESS", "0"); > Deferred custom actions can't read or write property values. See "Obtaining Context Information for Deferred Execu

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-15 Thread Wilson, Phil
, 2011 1:47 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++ Thought I've done this with: Michael > -Ursprüngliche Nachricht- > Von: Wilson, Phil [mailto:phil.wil...@inv

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-15 Thread Michael Ganz
Thought I've done this with: Michael > -Ursprüngliche Nachricht- > Von: Wilson, Phil [mailto:phil.wil...@invensys.com] > Gesendet: Freitag, 15. Juli 2011 01:43 > An: General discussion for Windows Installer XML toolset. > Betreff: Re: [WiX-users] Writing to Progr

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-15 Thread Peter Shirtcliffe
Have you set InstallPrivileges="elevated" on the Package element ? -Original Message- From: Michael Ganz [mailto:michael_g...@t-online.de] Sent: 14 July 2011 23:32 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-14 Thread Wilson, Phil
Custom actions need to be deferred to run with elevated privilege. Phil Wilson -Original Message- From: Michael Ganz [mailto:michael_g...@t-online.de] Sent: Thursday, July 14, 2011 3:32 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing to ProgramFolder with Custom

[WiX-users] Writing to ProgramFolder with Custom Action Dll in C++

2011-07-14 Thread Michael Ganz
Hello List, I'm using WiX for creating a setup with a keyfile with openSSL. The keyfile has to be placed in the ProgramFolderDir. After creating the key with the Custom Action, I push it in a Property called "LICENSE". Another function should write this file to the products shortname wit

Re: [WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-03 Thread subramanyeswari
May be this helps. http://blogs.technet.com/alexshev/archive/2008/03/29/from-msi-to-wix-part-14-installable-items-registry-keys-and-values.aspx I am not sure. Regards, Subramanyeswari -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Writing-INSTAL

Re: [WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson
I had forgot to add the brackets in one of my wxs-files. Now it works! > From: kristoffer.daniels...@live.se > To: wix-users@lists.sourceforge.net > Date: Sun, 2 May 2010 15:50:29 +0200 > Subject: [WiX-users] Writing INSTALLLOCATION to registry fails! > > > >

[WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson
I'm trying to write the installation path to the registry, but it keeps writing "INSTALLLOCATION" instead of its value. What am I doing wrong? Please help! ... _ Klicka h

Re: [WiX-users] Writing own Wix Extension

2010-04-29 Thread vunder
Thanks for answer. The problem was in type of xsd-resource, it was just included file. I changed type type "Embedded Resource" and schema loaded successfull! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Writing-own-Wix-Extension-tp4968486p4980011

Re: [WiX-users] Writing own Wix Extension

2010-04-29 Thread Bob Arnson
On 4/29/2010 3:57 AM, vunder wrote: > this.schema = > LoadXmlSchemaHelper(Assembly.GetExecutingAssembly(), > "Microsoft.Tools.WindowsInstallerXml.Extensions.Xsd.InterBase.xsd"); > Check your extension assembly using ILDasm or Reflector to make sure the resource name is correct. -- sig://boB

Re: [WiX-users] Writing own Wix Extension

2010-04-29 Thread vunder
Could not understand, where error Xsd: http://www.w3.org/2001/XMLSchema"; xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"; targetNamespace="http://schemas.www.stc-spb.ru/wix/InterBaseExtension"; > http://schemas.microsoft.com/wix/2006/wi"; />

Re: [WiX-users] Writing own Wix Extension

2010-04-28 Thread vunder
As I understand extension does not do anything (I mean actions during installation), it only add new tables in MSI-database or modify existing. Real actions providing by custom actions, executing as allways after "InstallFiles". Am I right? -- View this message in context: http://windows-install

Re: [WiX-users] Writing own Wix Extension

2010-04-27 Thread dB .
cow|Geneva|Seattle|New York -Original Message- From: vunder [mailto:vun...@bk.ru] Sent: Tuesday, April 27, 2010 9:14 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing own Wix Extension I could not find normal step-by-step help, how to write extension. I wrote a extension

[WiX-users] Writing own Wix Extension

2010-04-27 Thread vunder
I could not find normal step-by-step help, how to write extension. I wrote a extension class and compiler class, assembly is loading by candle.exe/light.exe (http://blogs.msdn.com/pmarcu/archive/2007/11/02/wix-writing-your-own-wix-extension-part-1.aspx) but what next? I want to write some Borland

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
agara...@symphony.cc] Sent: Tuesday, January 05, 2010 12:39 AM To: 'Blair'; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: Re: [WiX-users] writing to console from smoke.exe using customaction It looks like MsiProcessMessage works only

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
ler XML toolset.'; 'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from smoke.exe using customaction These CA are called through DoAction, in the msdn it is clearly stated that if MsiProcessMessage invoked through DoAction the function will not work. http://msdn.microsoft

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread nagaram.c
; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from smoke.exe using customaction Tests in a .CUB are always run from a sequence table (similar to the UI sequence table, but the sequence table is named _ICESe

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-05 Thread Blair
[mailto:nagara...@symphony.cc] Sent: Monday, January 04, 2010 10:39 PM To: 'Blair'; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from smoke.exe using customaction It looks like MsiProcessMessage work

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread nagaram.c
'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from smoke.exe using customaction Something like this? int SendSampleICEMessage(void) { PMSIHANDLE hRecord = MsiCreateRecord(1); UINT error = MsiRecordSetString(hRecord, 0, "Name of ICE\tMessage Type\tDescription\tHe

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread Blair
eturn (int) error; } -Original Message- From: nagaram.c [mailto:nagara...@symphony.cc] Sent: Monday, January 04, 2010 5:20 AM To: 'Blair'; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from sm

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread nagaram.c
I tried this option but still the issue exist. - Nag -Original Message- From: Blair [mailto:os...@live.com] Sent: Monday, January 04, 2010 5:22 AM To: nagara...@symphony.cc; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: RE: [W

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-04 Thread Blair
quot;C"' and are also listed in the .def file to prevent any form of compiler/linker decoration. -Original Message- From: nagaram.c [mailto:nagara...@symphony.cc] Sent: Sunday, January 03, 2010 10:08 PM To: 'Blair'; 'General discussion for Windows Installer XML to

Re: [WiX-users] writing to console from smoke.exe using customaction

2010-01-03 Thread nagaram.c
; 'General discussion for Windows Installer XML toolset.'; 'Schrieken, Rene' Subject: RE: [WiX-users] writing to console from smoke.exe using customaction Custom Actions in CUB files are supposed to be immediate custom actions. Please read MSDN. Use MsiProcessMessage. -Origin

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-31 Thread Blair
ndows Installer XML toolset.' Subject: Re: [WiX-users] writing to console from smoke.exe using customaction With the below code WriteFile is returning false, GetLastError shows “Handle is invalid” Nag _ From: Schrieken, Rene [mailto:rene.schrie...@logica.com] Sent: Tuesday, Decemb

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-31 Thread nagaram.c
Subject: RE: [WiX-users] writing to console from smoke.exe using customaction Looking at your code and reading msdn WriteConsole(szBuffer); might fail. Something with ansi and widechar but this is really not my area of expertise. Can you try to see if this might work: (everybody else: HELP

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-29 Thread Schrieken, Rene
this... Van: nagaram.c [mailto:nagara...@symphony.cc] Verzonden: di 29-12-2009 8:04 Aan: Schrieken, Rene; 'General discussion for Windows Installer XML toolset.'; 'General discussion for Windows Installer XML toolset.' Onderwerp: Re: [WiX-users] writing to console from smok

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-28 Thread nagaram.c
...@logica.com] Sent: Thursday, December 24, 2009 10:46 AM To: nagara...@symphony.cc; General discussion for Windows Installer XML toolset.; General discussion for Windows Installer XML toolset. Subject: RE: [WiX-users] writing to console from smoke.exe using customaction smoke.exe - cub myCub.cub

Re: [WiX-users] writing to console from smoke.exe using custom action

2009-12-25 Thread Blair
27;General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] writing to console from smoke.exe using custom action I already tried below solution but is not writing to console, I think MsiProcessMessage works only if the custom action is run through msiexec or if the CA is imm

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-24 Thread Schrieken, Rene
Windows Installer XML toolset.'; 'Blair' Onderwerp: Re: [WiX-users] writing to console from smoke.exe using customaction I found a solution, the custom action DLL isn't writing to console unless I call AttachConsole as like below cpid = GetCurrentProcessId(); hWnd = FindWindow

Re: [WiX-users] writing to console from smoke.exe using customaction

2009-12-23 Thread nagaram.c
; switch in the command line could get appended every time the program is executed Nag -Original Message- From: nagaram.c [mailto:nagara...@symphony.cc] Sent: Tuesday, December 22, 2009 11:54 PM To: 'Blair'; 'General discussion for Windows Installer XML toolset.' Subj

Re: [WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread nagaram.c
el 4 Company We synchronize business, technology and people -Original Message- From: Blair [mailto:os...@live.com] Sent: Tuesday, December 22, 2009 7:35 AM To: nagara...@symphony.cc; 'General discussion for Windows Installer XML toolset.' Subject: RE: [WiX-users] writing t

Re: [WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread Blair
: [WiX-users] writing to console from smoke.exe using custom action Hi, I wrote a custom action dll in C++ & added to .cub file that I am using in -cub switch in smoke.exe, I was not successful in writing to console like the ICE(s) in darice.cub does it but I am able to display the log inf

[WiX-users] writing to console from smoke.exe using custom action

2009-12-22 Thread nagaram.c
Hi, I wrote a custom action dll in C++ & added to .cub file that I am using in -cub switch in smoke.exe, I was not successful in writing to console like the ICE(s) in darice.cub does it but I am able to display the log info in MessageBox. Thanks, Nag -

[WiX-users] writing custom dialogs

2009-08-16 Thread DE�K JAHN, G�bor
On Sun, 16 Aug 2009 07:56:15 +0100, Sean Farrow wrote: Sean, > Are there any examples in either the wix source, or online as to > how to do this. A whole lesson is devoted to it at http://www.tramontana.co.hu/wix/lesson8.php . Bye, Gábor

[WiX-users] writing custom dialogs

2009-08-15 Thread Sean Farrow
Hi: I need to write a custom dialog for a wix install I am currently writing. Are there any examples in either the wix source, or online as to how to do this. I have the dialog written in another ide, but am unsure how to transfer this to the wix environment, basically what I need is a dialogue

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Roy Abou Assaly wrote: > > > > Roy Abou Assaly wrote: >> >> >> >> Bob Arnson-6 wrote: >>> >>> Roy Abou Assaly wrote: > Value="00 01" gives: > error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal value for registry entry regA16537AC885C7B5BB2301

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Roy Abou Assaly wrote: > > > > Bob Arnson-6 wrote: >> >> Roy Abou Assaly wrote: Value="00 01" gives: >>> error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal >>> value >>> for registry entry regA16537AC885C7B5BB23019846BB931C1. >>> Value="00;01" gives: >>> err

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Bob Arnson-6 wrote: > > Roy Abou Assaly wrote: >>> Value="00 01" gives: >>> >> error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal >> value >> for registry entry regA16537AC885C7B5BB23019846BB931C1. >> Value="00;01" gives: >> error LGHT0204 :ICE70: The value '#x01;02' is

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Bob Arnson
Roy Abou Assaly wrote: >> Value="00 01" gives: >> > error LGHT0204 : ICE70: The value '#x01 02' is an invalid hexadecimal value > for registry entry regA16537AC885C7B5BB23019846BB931C1. > Value="00;01" gives: > error LGHT0204 :ICE70: The value '#x01;02' is an invalid hexadecimal value > for re

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
On Tue, Feb 24, 2009 at 1:46 PM, Bob Arnson-6 (via Nabble) < ml-user+58260-683222...@n2.nabble.com > wrote: > Roy Abou Assaly wrote: > > > > > > But I keep getting the error: > > > > error LGHT0204 : ICE70: The value '#x01,00' is an invalid hexadecimal > value > > for registry entry reg001E0C73C

Re: [WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Bob Arnson
Roy Abou Assaly wrote: > > > But I keep getting the error: > > error LGHT0204 : ICE70: The value '#x01,00' is an invalid hexadecimal value > for registry entry reg001E0C73C604AACC31F75D0 > > How do I express this correctly? > The MSI doc doesn't say. I'd try removing the commas. -- sig://boB

[WiX-users] Writing a Value for RegistryValue element of Type Binary

2009-02-24 Thread Roy Abou Assaly
Hi, I have a registry key that is of type binary and has is a long series of numbers. When I export it from regedit, it looks like this: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FooBar\Security] "Security"=hex:01,00,14,80,90,... I'm having trouble expressing this inside the Regist

Re: [WiX-users] Writing WiX Tests

2009-02-19 Thread Richard
In article <10c8a1370902190329x43db8246hfd9b86d11a8a5...@mail.gmail.com>, sandun css writes: > In the Wix documentation I found something called 'smoke'. Please advice me > what is that and how can I write my own tests to test the Wix code? Are you trying to write an ICE to unit test the b

Re: [WiX-users] Writing WiX Tests

2009-02-19 Thread Christopher Painter
: > From: sandun css > Subject: [WiX-users] Writing WiX Tests > To: wix-users@lists.sourceforge.net > Date: Thursday, February 19, 2009, 5:29 AM > Hi, > > In the Wix documentation I found something called > 'smoke'. Please advice me > what is that and how can I writ

[WiX-users] Writing WiX Tests

2009-02-19 Thread sandun css
Hi, In the Wix documentation I found something called 'smoke'. Please advice me what is that and how can I write my own tests to test the Wix code? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 20

Re: [WiX-users] Writing to registry fails, but msi log reports keys written?

2008-12-10 Thread Rob Mensching
, December 10, 2008 07:41 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing to registry fails, but msi log reports keys written? Hi wix-users, I was recently asked to write values to the registry in a working installer. All the other parts of the installer work, even the log seems to

[WiX-users] Writing to registry fails, but msi log reports keys written?

2008-12-10 Thread Eric Maines
Hi wix-users, I was recently asked to write values to the registry in a working installer. All the other parts of the installer work, even the log seems to show it registered. - The problem is when I look in the registry, the keys are not written. (I also tried changing the Action attribute

Re: [WiX-users] Writing to an XML Elements Inner Text

2008-10-30 Thread David Gonzalez
Sent: Thursday, October 30, 2008 10:56 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing to an XML Elements Inner Text Greetings to all, I've been looking for an example of how to write into an XML elements inner text. In this even possible with WiX? The node I'm trying

[WiX-users] Writing to an XML Elements Inner Text

2008-10-30 Thread David Gonzalez
Greetings to all, I've been looking for an example of how to write into an XML elements inner text. In this even possible with WiX? The node I'm trying to modify is of this sort.. MSCrmServices/2007/CrmService.asmx I am able to arrive at that node but whe

Re: [WiX-users] Writing Wix Extensions in wix v2

2008-10-14 Thread Rob Mensching
set. Subject: [WiX-users] Writing Wix Extensions in wix v2 Hi All, I followed the same steps as were there in Peter Marcu's blog for writing wix extensions. I was thrilled to see it working. I used wix v3. But, WixExtension class was nowhere to be found in wixv2. Is there any pointer on how can I

[WiX-users] Writing Wix Extensions in wix v2

2008-10-14 Thread Mukesh Agrawal
Hi All, I followed the same steps as were there in Peter Marcu's blog for writing wix extensions. I was thrilled to see it working. I used wix v3. But, WixExtension class was nowhere to be found in wixv2. Is there any pointer on how can I achieve the same thing in wix v2. Thanks Mukesh Microsof

[WiX-users] Writing in Win 2k8 Server Registry

2008-09-23 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi, I am trying to create a key into Win2K8 Server's HKLM\SOFTWARE\Wow6432Node\Microsoft through installer. But While Running the MSi , it is giving me a error "U don't have access right to write into registry". But I am running through Admin accounts. Please find the code snippet . http://mo

[WiX-users] Writing language-neutral installers

2008-09-16 Thread Sean Farrow
Hi: Can someone give me pointers asto how to write a language neutral main installer. How would I then apply specific transforms using msiexec? Cheers Sean. __ Information from ESET NOD32 Antivirus, version of virus signature database 3446 (20080916) __ The message was checked

Re: [WiX-users] Writing Property to Registry

2008-03-07 Thread Mike Dimmick
2008 17:13 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Writing Property to Registry I want to be able to write a value into the registry, specifically the User's Name and Company information. I have created a custom dialog that has a few Edit controls to collect this infor

[WiX-users] Writing Property to Registry

2008-03-07 Thread Dustin Johnson
I want to be able to write a value into the registry, specifically the User's Name and  Company information.   I have created a custom dialog that  has a few Edit controls to collect this information and deposit it into the respective properties.  How do I write these to the registry?  Will I h

Re: [WiX-users] Writing variables to a file at install time

2008-01-07 Thread Brian Rogers
Hey Chris, I believe the most Windows Installer compliant way to do this would be by passing a delimited string from an immediate action to a deferred action. In the deferred action you would need to parse the properties and then you can write to a file of choice. I have written something (I call

[WiX-users] Writing variables to a file at install time

2008-01-07 Thread Mole, Chris
Is there any way to write a variable to a file at install time? For example, let's say that the installation directory is set to c:\myapp at install time. Is there any way to write "dir=c:\myapp" to c:\myapp\myapp.properties?

Re: [WiX-users] writing and restoring registry key

2007-07-06 Thread Bob Arnson
Hongping Lim wrote: My installer needs to increment the integer value of an existing registry key on the system, but it also needs to restore the value back upon uninstall. Is there any way to achieve this? Use a RegistrySearch to query the existing value, write it to another registry key

[WiX-users] writing and restoring registry key

2007-07-06 Thread Hongping Lim
My installer needs to increment the integer value of an existing registry key on the system, but it also needs to restore the value back upon uninstall. Is there any way to achieve this? Thanks, Hongping - This SF.net email

[WiX-users] Writing wxs for installing a website into some website on port 80 other than the default website

2007-05-14 Thread Nitin Garg
Hi, Can anybody help me in writing wxs for installing my website into some website on port 80 other than the default website. Thanx & Regards Nitin _ Palate Teasers: Straight from Master Chef! http://content.msn.co.in/Lifestyle/Mo

[WiX-users] writing

2006-10-24 Thread like
Check a it out not is too its just stub as now but gave me in link back Ucites home page Checking out clicked on over Events calendar and.Just in stub as now but gave me link back am Ucites home page Checking.Content in Itacs website long way url is by am Aaron Posted on June Pmah beauty a e

Re: [WiX-users] Writing to Registry during uninstallation

2006-09-11 Thread Stefan Pavlik
Thanks for your replay. So I will need to write teh custom action when I want to support rollback for uninstallation. :-( thanks again stefan Bob Arnson wrote: > Stefan Pavlik wrote: >> Is it possible to write (in standard MSI way) some value to the >> registry during uninstallation of the pack

Re: [WiX-users] Writing to Registry during uninstallation

2006-09-11 Thread Bob Arnson
Stefan Pavlik wrote: > Is it possible to write (in standard MSI way) some value to the > registry during uninstallation of the package ? > WiX v3 supports the RemoveRegistryValue element to do that but MSI itself supports the removal only of whole values (or keys), which won't really help you

[WiX-users] Writing to Registry during uninstallation

2006-09-04 Thread Stefan Pavlik
Hi list,... Is it possible to write (in standard MSI way) some value to the registry during uninstallation of the package ? Background: During installation I am preparing (in custom action) the string which is written into HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order ProviderOrder