Re: [WiX-users] non-admin user patching

2008-02-04 Thread rjking
Thanks again, Bob Light gives me errors similar to the following if I try and include an MsiPatchCertificate entry under any of Patch, Media or Fragment: C:\Users\Richard\Documents\WixEditTest\patch.wxs(25) : error LGHT0241 : An unexpected row in the 'MsiDigitalCertificate' table was found in th

Re: [WiX-users] rollback conditions

2008-02-04 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > I think so. I've added a CA which is supposed to throw an error as follows: > > > > However, it seems that it's not forcing a rollback. Any ideas? The docs say: NameTypeDescription Error String This attr

Re: [WiX-users] Installing Postgres with WIX

2008-02-04 Thread Bob Arnson
Rhett Baldwin wrote: > I'm looking to install the postgress database as part of my application > install. I have seen some posts that suggest using a bootstrapper instead?, > but not sure if this is the best or only option? > > I did try using a custom action that calls msiexec and passes the a

Re: [WiX-users] patch GUI

2008-02-04 Thread Bob Arnson
rjking wrote: > Another question on patching : is there a standard UI (set of dialog pages) > similar to those included in the default WiX UI library for an msi. At the > moment, when applying a patch, I get a "standard" Repair/Remove page and I > have to click Repair to apply the patch. If I appl

Re: [WiX-users] CustomDlg in WixUI_mondo

2008-02-04 Thread Bob Arnson
Marcel Kulicke wrote: I want to extend the WixUI_mondo with a custom dialog. There is a pretty good sample in the WIX-sources under \examples\public\wixui\custom. But it is not working, since a major nant-build file is missing (src/ui/ui.build). The whole ui-folder is not current any more.

Re: [WiX-users] Rich Text Field in dialog...

2008-02-04 Thread Bob Arnson
Fred wrote: > Thanks, but the weird thing is that : > - I already tried saving my RTF with WordPad, and in this case, there > was no text at all > - My EULA dialog is the second dialog in the installer, the first > being a welcome dialog. > Then it's probably not the same bug. AFAIK, th

Re: [WiX-users] Server2008 certification and upgrade table.

2008-02-04 Thread Bob Arnson
Tobias Holm wrote: When I have created our installer with the use of WiX v2 I can find the Property table, but there is no upgrade table. The Property table contains all the required information. What elements need to be added to my *wxs file to create an upgrade table with the specificatio

Re: [WiX-users] non-admin user patching

2008-02-04 Thread Bob Arnson
rjking wrote: > Thanks for the reply, Bob. Do you have a reference to the full set of > tables/properties/etc that needs to be in a .msp. See the topic in the MSI SDK I mentioned before. > requirements. We can see that we are producing the same 2 tables > (MsiPatchMetaData and PatchSequence)

Re: [WiX-users] rollback conditions

2008-02-04 Thread larsenal
I think so. I've added a CA which is supposed to throw an error as follows: However, it seems that it's not forcing a rollback. Any ideas? Richard-45 wrote: > > > In article <[EMAIL PROTECTED]>, > larsenal <[EMAIL PROTECTED]> writes: > >> I removed all conditions from the Rollback a

[WiX-users] Problems Creating a Minor Update Patch

2008-02-04 Thread Ruslan Hristov
Hello, I am using WiX 3 and I am trying to create a Minor Update Patch. I tried various tutorials/examples, but none worked. When using torch & pyro (following Peter Marcu's Example), I got the following error: pyro.exe : error PYRO0252 : No valid transforms were provided to attach to the patch..

Re: [WiX-users] rollback conditions

2008-02-04 Thread Richard
In article <[EMAIL PROTECTED]>, larsenal <[EMAIL PROTECTED]> writes: > I removed all conditions from the Rollback action. It's sequence is set to > After="InstallInitialize". It still doesn't fire. > > Any ideas? It won't fire unless the transaction is interrupted and a rollback occurs.

Re: [WiX-users] Vista security

2008-02-04 Thread Alexander Shevchuk
To create 'unique' filenames you could use ProductVersion or schedule custom action somewhere before InstallFiles and set the value of some property to a timestamp. As far as CustomActionData, it is hard to suggest anything without seeing the code. The idea here is simple: - Define deferred cu

Re: [WiX-users] Vista security

2008-02-04 Thread RW
Thanks for the reply Alex. I have working, but cannot find a way to create a 'unique' filename - hence looking into calling a VBS. The best I can come up with using is appending the version number of the installer. E.g. myfile.1.2.1.1 This is better than not doing a backup, but in our previou

Re: [WiX-users] Increment Progress Bar?

2008-02-04 Thread Alexander Shevchuk
If your custom action is a script, use Session.Message: http://msdn2.microsoft.com/en-us/library/aa371672(VS.85).aspx For C/C++ custom actions use MsiSetExternalUIRecord: http://msdn2.microsoft.com/en-us/library/aa370385(VS.85).aspx Regards, Alex From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECT

Re: [WiX-users] Substituting values with Candle

2008-02-04 Thread James Burgess
Jim, Works a charm! I saw some examples like that but confused them with $ (loc.PACKAGE_ROOT). regards, James On Feb 4, 2008, at 12:25 PM, Jim Williams wrote: > I think you need to code it as: > > > > Jim > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTE

[WiX-users] Increment Progress Bar?

2008-02-04 Thread Dustin Johnson
How do I increment the progress bar in a custom action?  Actually, any information on how to handle a progress bar would be very helpful! Thank you, -- Dustin Johnson CACE Technologies Tel: 530-758-2790 x109 Fax: 530-758-2781 www.cacetech.com smime.p7s Description: S/MIME Cryptographic Sig

Re: [WiX-users] rollback conditions

2008-02-04 Thread larsenal
UPDATE: I removed all conditions from the Rollback action. It's sequence is set to After="InstallInitialize". It still doesn't fire. Any ideas? -- View this message in context: http://www.nabble.com/rollback-conditions-tp15273453p15277792.html Sent from the wix-users mailing list archive at

Re: [WiX-users] Substituting values with Candle

2008-02-04 Thread Jim Williams
I think you need to code it as: Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Burgess Sent: Monday, February 04, 2008 12:16 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Substituting values with Candle Hi, I'd like to use

[WiX-users] Substituting values with Candle

2008-02-04 Thread James Burgess
Hi, I'd like to use an rtf file in my installer and share that rtf file with many msi building projects. So to achieve that instead of copy the rtf to each of the project directories I'd like to so something like And then run candle with something like candle -dPACKAGE_RO

Re: [WiX-users] Vista security

2008-02-04 Thread Alexander Shevchuk
Your custom action declaration does not have "Execute" attribute defined, which means that this is immediate custom action. Immediate custom actions are always impersonated on the server (look for more information here: http://blogs.msdn.com/heaths/archive/2007/07/12/immediate-custom-actions-al

[WiX-users] rollback conditions

2008-02-04 Thread larsenal
I want different rollback CAs to fire based on whether an install or uninstall is occurring. What I have so far never seems to fire any rollback: ... (&PluginFeature = 3) AND NOT (!PluginFeature = 3) (&PluginFeature = 2) AND (!PluginFeature = 3) (&PluginFeature = 3) (&PluginFeature = 2) --

[WiX-users] Vista security

2008-02-04 Thread RW
Hi, I'm having some small issues with security on Vista. I am running a Custom Action before installation to backup any files that already exist, so they are not lost in the installation. I am using VBS, despite some people's dislike for it, as I know of no better way.

Re: [WiX-users] Running .exe file as part of OS startup

2008-02-04 Thread Wilson, Phil
That registry entry is processed when a user logs on, not when the OS starts up. So if the request is really for when the OS starts up I think a service is the only choice. If it's really for "when a user logs on" that entry will do, as will adding a shortcut to the Startup program menu group.

Re: [WiX-users] Adding a custom action (type 6) in apatchpackage(msp)

2008-02-04 Thread Alexander Shevchuk
As Michal pointed out, try to use different IDs for and . From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Chrzanowski Sent: Monday, February 04, 2008 6:59 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Adding a custom action (type 6) in apatchpackage(msp) No

[WiX-users] Not detecting correct version of aspnet_regiis.exe

2008-02-04 Thread jrcolons
I made the following code to create a property which contains the aspnet_regiis.exe, framework 2.0 version path. by some strange reason, while having the correct build version of the file, it keeps pointing me to the v1.1 file. I'm using

Re: [WiX-users] Running .exe file as part of OS startup

2008-02-04 Thread Karthik Krishnan
I remember a lot of spyware(and legitimate software too!) write entries to : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run to get things to run during startup, maybe you could try that? K On Feb 4, 2008 7:57 AM, Anidil <[EMAIL PROTECTED]> wrote: > > Could anyone give an insigh

Re: [WiX-users] Adding a custom action (type 6) in apatchpackage(msp)

2008-02-04 Thread Paul Chrzanowski
Now I tried using torch.exe with .msi files instead of .wixpdb files to generate a .mst file. Looking into the .mst file I clearly can see the content of my custom action in binary form. Using orca I can verify that this transform adds a new row into the binary table. When I edit my .wixmst file

Re: [WiX-users] A set of incrementally more complex examples to help writing build automation

2008-02-04 Thread Dominik Guder
Adam Kennedy-3 wrote: > > I'm trying to write an .msi target (zip and eve targets already exist) > for a project that I do not myself control (The Perl programming > language) and that changes over time. > > This rules out the recommended approach of hand-crafting the Wix XML > files at the

Re: [WiX-users] wix 3.0 : what should I use instead of "AssemblyRegisterComInterop" ?

2008-02-04 Thread Michal Peled
Thanks Karim, that seems helpful. So now, if I create a component, with my one DLL file that carries the Assembly=".net" attribute, and all the registry values that I got from Heat, that should be like I installed it with gacutil and regasm? I still have a long way to go before I can even test my

Re: [WiX-users] Votive 2.0 and Team Build

2008-02-04 Thread Christopher Painter
Sorry, missed the version #'s ... it's been a long week for me. You'll have to do something like override AfterCoreCompile and create an Exec task to go out of process and call WiX. Simon Dahlbacka <[EMAIL PROTECTED]> wrote: I have a .wixproj I have created using Votive 2.0. ..

Re: [WiX-users] wix 3.0 : what should I use instead of "AssemblyRegisterComInterop" ?

2008-02-04 Thread Karim MacDonald
Michal Peled wrote: > > I need to get my installation to register a .NET assembly in the way > that "regasm /tlb" does. > > I saw an example for such a thing in Rob's blog, using the > "[EMAIL PROTECTED]" attribute (set to "yes"). > Hi Michal, You can use heat with a -scom flag to extract th

[WiX-users] Running .exe file as part of OS startup

2008-02-04 Thread Anidil
Could anyone give an insight on how to implement this using wix? -- View this message in context: http://www.nabble.com/Running-.exe-file-as-part-of-OS-startup-tp15267561p15267561.html Sent from the wix-users mailing list archive at Nabble.com. -

[WiX-users] Installing Postgres with WIX

2008-02-04 Thread Rhett Baldwin
Hi All, Ive seen this or similar questions floating around on this list and other forums , but no real answers?, or at least no answers with followup or examples. I'm looking to install the postgress database as part of my application install. I have seen some posts that suggest using a boot

Re: [WiX-users] RegistrySearch more than once?

2008-02-04 Thread Michal Peled
Tris, What you're looking for is, as far as I know, impossible. The registry search for properties is done once in the "AppSearch" action, if I'm not mistaken. However, there are other ways to achieve your goal: 1. If the user enters a text that describes a value of a constant registry key, you

[WiX-users] RegistrySearch more than once?

2008-02-04 Thread Tris Hodges
Is it possible to do a RegistrySearch more than once for a property? The user can enter some text which I then want to search for in the registry but the RegistrySearch seems to be only getting called the first time and return that value for all subsequent calls. Thanks Tris __

Re: [WiX-users] Adding a custom action (type 6) inapatchpackage(msp)

2008-02-04 Thread Michal Peled
Oh, sorry, silly me, just now I noticed that you have something like that in your script, so forget what I wrote. Maybe you can try switching the positions of the Binary and the customaction, so that the Binary would come first. Also, try giving one of them a different ID. These are not-so

[WiX-users] CustomDlg in WixUI_mondo

2008-02-04 Thread Marcel Kulicke
Hi Wix-Users, I want to extend the WixUI_mondo with a custom dialog. There is a pretty good sample in the WIX-sources under \examples\public\wixui\custom. But it is not working, since a major nant-build file is missing (src/ui/ui.build). The whole ui-folder is not current any more. -

[WiX-users] Detect if Virtual Directory already exists?

2008-02-04 Thread Tris Hodges
Is it possible to detect if a user entered name for a Virtual Directory already exists? Thanks Tris _ Free games, great prizes - get gaming at Gamesbox. http://www.searchgamesbox.com-

Re: [WiX-users] Adding a custom action (type 6) in apatchpackage(msp)

2008-02-04 Thread Michal Peled
Paul, You configured the Binary, but you have not created a custom action out of it. You cannot reference a Binary as a custom action, instead you should create a custom action that uses this binary and then call that custom action. An example to that would be something like: (VB

[WiX-users] Server2008 certification and upgrade table.

2008-02-04 Thread Tobias Holm
Hi all, We are working with our product for the "Certified for Windows Server 2008" logo and we are right now having some issues with TC2.20.1. TC2.10.1 : Verify Package Identity is correctly configured VERIFICATION: To Pass this test case, the Property Table and the Upgrade Table i

[WiX-users] Not upgraded at previous location - Created at Default location

2008-02-04 Thread SaiTeja
Hi, This is regarding Major Upgrades. The question is I have installed Client Installer (version 6.4) under C:\test\. It is installed properly. After that I have Installed Client Installer(Version 6.5 with Upgrade functionality). It is detected, and deleted components under C:\test\, and re in

Re: [WiX-users] Adding a custom action (type 6) in a patchpackage(msp)

2008-02-04 Thread Paul Chrzanowski
Hello, Alexander, you are right, the '/' was a mistake, but this was only a typo in my mail. We do not get any error messages from light or candle, etc. We tested a little bit more and came to the conclusion, that using the pcp file the custom action type 6 ALWAYS work - even without edit

Re: [WiX-users] wix 3.0 : what should I use instead of"AssemblyRegisterComInterop" ?

2008-02-04 Thread Michal Peled
I saw some reference to Tallow regarding that issue, but Tallow is no longer present in Wix 3.0, so I'm still hitting a dead end. MP. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michal Peled Sent: Monday, February 04, 2008 11:28 AM To: wi

[WiX-users] wix 3.0 : what should I use instead of "AssemblyRegisterComInterop" ?

2008-02-04 Thread Michal Peled
Hi all, I need to get my installation to register a .NET assembly in the way that "regasm /tlb" does. I saw an example for such a thing in Rob's blog, using the "[EMAIL PROTECTED]" attribute (set to "yes"). However, in my version of Wix 3.0, Candle fails with the error: error CNDL0004 : The