Re: [WiX-users] Per user install

2011-11-17 Thread Jørn Jensen
I figured it out.. I used the [OriginalDatabase] parameter which has been discussed in this mailing list earlier. As my installer requires a reboot, here's what I did: 1. Made a script that takes the full path of the installer as an argument. The script get the unique id from the filename of th

Re: [WiX-users] Per user install

2011-11-17 Thread Dirk Räder
2011/11/17 Jørn Jensen : >> If your custom action could talk to the server, why not just make your >> application generate a machine unique id and ask the server for the >> information. Or you could do that from the installation. > > Because then the server would not know which user this is. > >>

[WiX-users] Shortcut

2011-11-17 Thread Michael Janulaitis
I'm trying to install a shortcut for a .chm file. I've read else where I need to create a resource dll and embed the icon. I've embedded an icon in a C++ MSI dll however am still unable to get the correct icon to display. Here's my XML: I'm sure this is really simple. Any help woul

Re: [WiX-users] Installs on XP but not on Win7

2011-11-17 Thread Alec Taylor
Excellent, glad to of helped :) On Fri, Nov 18, 2011 at 3:17 PM, Andy Clugston wrote: > Funny you mention that. I had commented it out of the package install and > was building while I typed the original message. Indeed, the template is > the problem. > > Thanks. > > On Thu, Nov 17, 2011 at 10:49

Re: [WiX-users] Installs on XP but not on Win7

2011-11-17 Thread Andy Clugston
Funny you mention that. I had commented it out of the package install and was building while I typed the original message. Indeed, the template is the problem. Thanks. On Thu, Nov 17, 2011 at 10:49 PM, Alec Taylor wrote: > The security template may be the issue. > > On Fri, Nov 18, 2011 at 2:46

Re: [WiX-users] Installs on XP but not on Win7

2011-11-17 Thread Alec Taylor
The security template may be the issue. On Fri, Nov 18, 2011 at 2:46 PM, Andy Clugston wrote: > I have a WiX 3.0 installer that works okay on XP SP3, but when attempting > to install on Windows 7 Pro SP1 I see the following error: > > "Action ended 18:33:17: InstallFinalize. Return value 3." > >

[WiX-users] Installs on XP but not on Win7

2011-11-17 Thread Andy Clugston
I have a WiX 3.0 installer that works okay on XP SP3, but when attempting to install on Windows 7 Pro SP1 I see the following error: "Action ended 18:33:17: InstallFinalize. Return value 3." Both systems are 32 bit operating systems, Win7 system has UAC disabled. It appears to be getting through

Re: [WiX-users] Custom Action to verify input

2011-11-17 Thread AxiomaticImpact
Eventually it's going to be specific information. Verifying that the email is in a certain format, that the password they enter later meets requirements, that kind of thing. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-to-verify-inp

Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Christopher Painter
Are you parsing the CustomAction data directly? You should be using session.CustomActionData on the other end. It will recreate the key value collection for you. FWIW, I know that DTF CAD automatically escapes ; as ;;. For fun, checkout: http://blog.iswix.com/2011/10/beam-me-up-using-json-

Re: [WiX-users] Custom Action to verify input

2011-11-17 Thread Christopher Painter
Just any information or validate the information against specific business rules? If it's just any information, you can do that without any custom actions. Just author a "MessageBox" dialog and use mutually exclusive ControlEvents to either do a SpawnDialog MessageBoxDialog or NewDialog NextD

[WiX-users] Custom Action to verify input

2011-11-17 Thread AxiomaticImpact
What is the best way to implement a Custom Action in a C++ dll so that when the user presses the "Next" button, it verifies that they put information into text boxes? Thanks! -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Custom-Action-to-verify-in

Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Ok, forget me, it was the equal before my variable that was causing the issue. I'll hang me when my installer is finished ;) Regards, Nicolas Penin -Message d'origine- De : Nicolas Penin [mailto:n.pe...@happly.fr] Envoyé : jeudi 17 novembre 2011 17:33 À : General discussion for Windows

Re: [WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Forgot to mention : I am using wix 3.6. Regards, Nicolas Penin -Message d'origine- De : Nicolas Penin [mailto:n.pe...@happly.fr] Envoyé : jeudi 17 novembre 2011 17:28 À : General discussion for Windows Installer XML toolset. Objet : [WiX-users] Bug with Semi colon in Custom action data

[WiX-users] Bug with Semi colon in Custom action data

2011-11-17 Thread Nicolas Penin
Hi all, I think this is a bug in wix : I have a variable containing a semi colon. >From this variable and many others, I build another variable that I use as >custom action data. Unfortunately, the custom action data is cut because of the semi-colon. If I replace the semi-colon by a comma, i

Re: [WiX-users] WiX 3.6 Project Harvesting

2011-11-17 Thread Dandre
Ah I finally found it. It was disabled by default until it was sorted out in the code base. You can re-enable it in 2 ways: * Go to the wix targets files in 'C:\Program Files (x86)\MSBuild\Microsoft\WiX\v3.x' and set the 'EnableProjectHarvesting' to true * Add true in your wix ms b

Re: [WiX-users] Per user install

2011-11-17 Thread Jørn Jensen
> If your custom action could talk to the server, why not just make your > application generate a machine unique id and ask the server for the > information. Or you could do that from the installation. Because then the server would not know which user this is. > If you just want to gather an i

[WiX-users] If Bundle/@Name is empty, the bundle installer will have no title in the UI

2011-11-17 Thread Peter Bulyaki
Hi Guys, I removed the Bundle/@Name element from my wxs file, because I don't want to see the bundle name in the Add/Remove Programs list. However, this removed the title from the bootstrapper UI too. Is there any other way to get rid of the bundle name in Add/Remove Programs while keeping the tit

Re: [WiX-users] Per user install

2011-11-17 Thread David Watson
If your custom action could talk to the server, why not just make your application generate a machine unique id and ask the server for the information. Or you could do that from the installation. If you just want to gather an id you can use a UI page to do that or pass a parameter to the MSI if yo

[WiX-users] questions about upgrading to a stable wix version

2011-11-17 Thread Calin Iaru
Hi, We’ve been compiling with 2.4 for a long time we are considering upgrading to the latest 3.6 version. I would appreciate if you could answer these questions: 1) 3.6 plays nice with DifxApi. The SW stack contains drivers that have to be installed and upgraded. I have custom actions that ar

Re: [WiX-users] Per user install

2011-11-17 Thread Jørn Jensen
Thanks for your response. It's a very small customization. I want to pass over the user credentials. Not necessarily directly, maybe just a unique ID which I can use as an argument to a custom action in the installer, which in turn requests the user credentials from a server. The binaries and pa

[WiX-users] How to capture stdout/stderr for msbuild tasks ?

2011-11-17 Thread Parag Doke
Hello All. I am new to msbuild and wix. I read on the msbuild page (MSDN) that if I need to capture something from a task into a property, I need to use the Output element with TaskParameter set to what the task will be setting. In that context, do any of the wix msbuild tasks set any parameters ?

Re: [WiX-users] Per user install

2011-11-17 Thread David Watson
It would be helpful if you give us more detail on what you are trying to achieve. Are you trying to do a small amount of customization per installation (i.e. as each user installs). Or are you trying to make custom editions, ie. An installation package per customer, e.g. customizations for a larg

[WiX-users] Per user install

2011-11-17 Thread Jørn Jensen
Hi, I need to make an installer that somehow contains user-specific information. I could compile a new installer for each user, but that would take way too much time.. My first thought was to serve the installer .msi-file with unique filenames for each user, but I can't figure out how to get t