[WiX-users] Checking if a folder exists before setting its permission

2007-08-09 Thread Ravit Shapira
Hi, I'm trying to check if a directory exists before I set its permission. The following is a snippet from my code: NOT LOGS.DIR.EXISTS >From the log files I see that when logs dir does not exist it exexcutes the >folder create op.

[WiX-users] Check .NET version and bootstrapper

2007-08-09 Thread Ansuya Negi
Hi, I can check .NET version as shown in tutorial: Then I need to install .NET framework accordingly. As suggested by some posts, I tried using bootstrapper dotNetInstaller. However this just gives us an option, whether we want to install .NET or not. The condition check that we have .NET comes

Re: [WiX-users] Run program after installation

2007-08-09 Thread John Lalande
Richard I really appreciate your help on this but due to time constraints I have thrown in the towel and written a custom action that works. It simply gets the INSTALLDIR property, concatenates the exe name and creates a new process...works every time. Again, thanks so much... John On 8/9/07,

[WiX-users] Voce acaba de receber um cartao!

2007-08-09 Thread hotcards
' CARTÕES HOTMAIL Olá, Você acaba de receber um CARTÃO HOTMAIL, os cartões que podem encontrar seu verdadeiro amor, enviado por Alguém que te admira muito. Veja o cartão http://hotmail.msn.com/cartao2105/cgi-bin/getmsg Um grande abraço de nossa equipe HOTMAIL. OBS: Este cartão

[WiX-users] Auto-incremented versions

2007-08-09 Thread Sean Li (XIN)
Hi, What's the best way to handle information that changes in every build? For example, the assembly version of my COM registration is different every build because we auto-increment the minor version number. Is there any best practice to handle this kind of information? Thanks a lot, Sean

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Richard
You're better off extracting the registration information from the EXE and using the COM/Registry tables to register the necessary classes. Its *much* easier and *much* more robust to use the tables for COM registration than it is to use custom actions. -- "The Direct3D Graphics Pipeline" -- Dir

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Tanikella, Rajanikanth (SCR US)
After a little further investigation, let me rephrase my initial question and supporting details: I'm building an MSI using WiX3, and I'm encountering a problem: I've a custom action: It is sequenced to be executed BEFORE 'InstallFinalize'. I've confirmed this using Orca. The problem I enco

Re: [WiX-users] EventSource element

2007-08-09 Thread Brent B. Powers
Jarrod Marshall wrote: > > Is anyone actively registering event sources with the EventSource element? > > I have a need to but the documentation isn't quite clear on the > required EventMessageFile argument. What exactly is that? :) > > Anyone have an example that works? > > Thanks! > It's the nam

Re: [WiX-users] Run program after installation

2007-08-09 Thread Richard.Foster
John, The 210 is a little misleading, I admit. Expressed in hexadecimal, 210 = 0xD2 From http://msdn2.microsoft.com/en-us/library/aa368071.aspx we can see that this decodes as follows: 0x80 = Run operation asynchronously 0x40 = Ignore exit code That leaves us with 0X12 - i.e. 1

[WiX-users] EventSource element

2007-08-09 Thread Jarrod Marshall
Is anyone actively registering event sources with the EventSource element? I have a need to but the documentation isn't quite clear on the required EventMessageFile argument. What exactly is that? :) Anyone have an example that works? Thanks! ---

Re: [WiX-users] Conditional Statement Problem

2007-08-09 Thread Karthik Krishnan
Dumb question, are the < signs causing you trouble? I use: On 8/9/07, Rob Hamflett <[EMAIL PROTECTED]> wrote: > > Give your property an explicit starting value with [EMAIL PROTECTED], which > gets overridden by the > RegistrySearch. Then you can base your condition against this value. > > Rob >

Re: [WiX-users] Adding a new element using XmlFile

2007-08-09 Thread Karthik Krishnan
Might want to take a look at XmlConfig instead of XmlFile. On 8/8/07, Ion Costco <[EMAIL PROTECTED]> wrote: > > Resending. Nobody encountered this? Thought it should be common... > > - Original Message - > *From:* Ion Costco <[EMAIL PROTECTED]> > *To:* wix-users@lists.sourceforge.net > *S

Re: [WiX-users] Error 1625

2007-08-09 Thread Ravit Shapira
Hi Bob, >From checking the log file I see that my msi is not digitally signed. MSI (s) (40:F4) [17:10:33:336]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\WINNT\TEMP\octtmp5\VSAddressSetup.msi' against software restriction policy MSI (s) (40:F4) [17:10:33:336]: Note: 1: 2262 2: Digit

Re: [WiX-users] .Net Framework Version

2007-08-09 Thread Karthik Krishnan
Matthieu, If I had to guess, I'd say you want to 'install' .NET 2.0 to a particular website, while having 1.1 running on another? You can do one of two things: The Ugly Way(TM), run a custom action vbs that calls aspnet_regiis : 'Install .Net 2.0 Dim objWMIService, objProcess, objCalc

Re: [WiX-users] Votive and Project References -- RESEND

2007-08-09 Thread Justin Rockwood
Unfortunately, there's a bug right now in wixlib references. You can manually add the reference (not a project reference) and have it work fine. Like you said, though, I think it stores a hardcoded path, which is a bug. Adding a .wixlib project reference, however, does not currently work as expecte

Re: [WiX-users] Run program after installation

2007-08-09 Thread John Lalande
Richard As per the tutorial, my custom action is defined as: This yields a custom action of type 210. I am very curious how your experiment turns out. John On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi John, > > > > That's odd that ProcessMonitor doesn't even show a f

[WiX-users] Publish Property functionality change b/w Wix 2 and 3?

2007-08-09 Thread Steve S
Hey guys, I'm probably gonna have my rating nicked for this post as there are similar topics about this but I'm struggling with a property publishing issue on a control. The example here is kinda silly because it's not really dependent upon the Next here, but anyways... I upgraded from Wix 2.x t

Re: [WiX-users] Error 1625

2007-08-09 Thread Wilson, Phil
Do other MSI files install on that box? That's useful information and rules out policies of any kind. Somewhere in policy settings "Software Restriction Policies" there is a list of file types that are not allowed to run, and the MSI extension might be restricted, so whether other MSI files instal

Re: [WiX-users] KeyPath problem

2007-08-09 Thread Patrice Lamarche
Hello Peter, Thanks you again for your answer. Worked if I deleted an file other than the first one :-) Best regards, Patrice Lamarche De : Peter Marcu [mailto:[EMAIL PROTECTED] Envoyé : 8 août 2007 11:48 À : Patrice Lamarche; wix-user

Re: [WiX-users] Error 1625

2007-08-09 Thread Ravit Shapira
Thanks Bub! How can I verify that .msi package is digitally signed? Ravit From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007 7:41 AM To: Ravit Shapira Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Error 1625 Ravit Shapira wr

Re: [WiX-users] Run program after installation

2007-08-09 Thread John Lalande
According to the tutorial, the FileKey attribute of the custom attribute is set to the Id of the file you wish to run so I assume that it is trying to run the executable directly...which I also successfully tested. But I don't really know the exact command that the installer is calling as it isn't

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Tanikella, Rajanikanth (SCR US)
Running msiexec with '/log installationLog.txt' the log file contains: EXEREG_PckgInstllr Action 17:17:03: EXEREG_PckgInstllr. Action start 17:17:03: EXEREG_PckgInstllr. EXEREG_PckgInstllr: Action ended 17:17:03: EXEREG_PckgInstllr. Return value 1. I take this to mean it ran and succeeded. Sti

Re: [WiX-users] Run program after installation

2007-08-09 Thread John Lalande
Richard It certainly is not a silly question and was worth checking. I checked and the program does not depend on its location. If I install to a non-default folder I can run the program from its shortcut. I am starting to think that perhaps this cannot be done as easily as the tutorial illustr

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Brian Simoneau
That would imply a different issue. I would look for your custom action in the log to see if it is being run. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tanikella, Rajanikanth (SCR US) Sent: Thursday, August 09, 2007 9:56 AM To: wix

Re: [WiX-users] checking registry entry

2007-08-09 Thread Frédéric Viollet
Bob Arnson a écrit : Frédéric Viollet wrote: Guid="924B3E41-7157-4927-B892-8D52D8A392BD"> MAXHEAPSIZE AND (MAXHEAPSIZE< 256) Type="integer" Action="write" /> I get the error : Name cannot begin with the ' ' character, hexadecimal value 0x20 You can't use a "bare" < character in an

Re: [WiX-users] scheduleReboot

2007-08-09 Thread Bob Arnson
Mark Line wrote: hopefully be my last question! my installer prompts for a reboot after install, however i am not coding this, for example MSI will prompt for a reboot if it had to replace in-use files. Check a verbose log; MSI will detail when it schedules a reboot. -- sig://boB http://joy

Re: [WiX-users] checking registry entry

2007-08-09 Thread Bob Arnson
Frédéric Viollet wrote: > Guid="924B3E41-7157-4927-B892-8D52D8A392BD"> > MAXHEAPSIZE AND (MAXHEAPSIZE< 256) > > Type="integer" Action="write" /> > > > > I get the error : Name cannot begin with the ' ' character, > hexadecimal value 0x20 You can't use a "bare" < character in an XML doc

Re: [WiX-users] Error 1625

2007-08-09 Thread Bob Arnson
Ravit Shapira wrote: I'm trying to run a setup on a Win2k3 server and I get error no' *1625*: *"The system administrator has set the policies to prevent this installation".* When I run the same setup on Vista it works. Currently the msi size is: 1.55 Giga Byte (I configured 5 cabs). Before

Re: [WiX-users] looking for a less time consuming Multilanguage installer

2007-08-09 Thread Bob Arnson
Magus wrote: > Right now it doens't because the people I work with don't seem to realize > that a file greater than 2 gb is a bad idea. > If it's just laying out files, it's probably just disk i/o that causes long build times. Can you verify that with -v? -- sig://boB http://joyofsetup.com/

[WiX-users] Votive and Project References -- RESEND

2007-08-09 Thread Quattro IV
I didn't get a response so I'm resending this: Hello, I'm having an issue referencing a WiX library from a standard WiX module. For some reason I get "Unresolved reference to symbol..." errors when I just reference the WiX library project directly instead of the referencing the output of the proje

Re: [WiX-users] HKLM - purposely persistent

2007-08-09 Thread Simon Topley
Thanks for the tip Stefan. Is this a tried and tested method? My keys still seem to disappear. Simon -Original Message- From: Stefan Pavlik [mailto:[EMAIL PROTECTED] Sent: 09 August 2007 12:08 To: Simon Topley Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] HKLM - purposely

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Tanikella, Rajanikanth (SCR US)
Thanks Brian, Upon closer examination, I realize I misspoke: My custom action is scheduled after an action that is scheduled BEFORE InstallFinalize. I recall that scheduling mine to run after InstallFinalize results in an error which indicates that mine is an 'in-script' action and can only be s

Re: [WiX-users] Registering an EXE via a Custom Action

2007-08-09 Thread Brian Simoneau
If your custom action is sequenced after InstallFinalize, then it should be immediate. The commit and deferred types can only be used between InstallInitialize and InstallFinalize. -Brian Simoneau -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tanikella

[WiX-users] scheduleReboot

2007-08-09 Thread Mark Line
hopefully be my last question! my installer prompts for a reboot after install, however i am not coding this, for example it seems to think that it needs one? however it doesn't! i am moving some files into system32, is this why it prompts for a reboot? however the software works correc

Re: [WiX-users] Run program after installation

2007-08-09 Thread Richard.Foster
John, It may be a silly question (and hopefully is), but does the application itself have any path-related dependencies? I.e. can you use the same command line as Installer would use successfully, bearing in mind that the working directory and the application's installation directory may not be

Re: [WiX-users] Problems with shortcuts

2007-08-09 Thread Alexei
Seems to me you need a custom action in order to specify which exact program you wish to use to open the file. So try setting up a custom action to open the file in IE, or whatever. C:\Program Files\Internet Explorer\IEXPLORE.EXE Then you need to schedule it: Have a

Re: [WiX-users] HKLM - purposely persistent

2007-08-09 Thread Stefan Pavlik
Hi Simon You can place the registry key to one Component and add [EMAIL PROTECTED]"yes". It will ensure that the component (and thus the registry key) wil not be removed during uninstall. regards Stefan Simon Topley wrote: > Greetings one and all! > > It's been a while but I have returned on

[WiX-users] HKLM - purposely persistent

2007-08-09 Thread Simon Topley
Greetings one and all! It's been a while but I have returned once again to conquer the land of installers. I have a pretty simple problem with my registry settings. I create keys all over the LM and CU hives in the registry however I wish to leave something behind in "LM\software\company name\prod

Re: [WiX-users] DLLs and uninstalls

2007-08-09 Thread Alexei
Phil Wilson wrote: > > See if the log contains any of this type of thing: > > MSI (s) (CC:24) [13:58:42:909]: Disallowing uninstallation of component: > {15239D33-DAE9-46F3-BD59-264A2068B3BC} since another client exists > > They'll be before those Action: Null reports (which is why they might

Re: [WiX-users] Conditional Statement Problem

2007-08-09 Thread Rob Hamflett
Give your property an explicit starting value with [EMAIL PROTECTED], which gets overridden by the RegistrySearch. Then you can base your condition against this value. Rob Schuett, Michael (VMC) wrote: > Hello, > > I'm reading a DWORD value from the registry using RegistrySearch. (WiX > 3.0.

[WiX-users] McAfee GroupShield Alert (INSAD OFFICE)

2007-08-09 Thread admin
McAfee GroupShield™ Alert McAfee GroupShield discovered a problem with the following email. See your system administrator for further information. Date/Time sent: 09 Aug 2007 09:32:42 Subject line: [WiX-users] You've received a greeting card from a Mate! From: [EMAIL PROTECTED] To: wix-users@li