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 this patch. 
Patches  cannot contain the 'MsiDigitalCertificate' table.
C:\Users\Richard\Documents\WixEditTest\patch.wxs(24) : error LGHT0241 : An
unexpected row in the 'MsiPatchCertificate' table was found in this patch. 
Patches cannot contain the 'MsiPatchCertificate' table.

I will keep trying but because we are in Australia I thought I'd get a
response off to you before we head home for the day.

Your help is very much appreciated.

Richard
-- 
View this message in context: 
http://www.nabble.com/non-admin-user-patching-tp15224403p15283743.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 attribute specifies an index in the MSI Error table
to use as an error message for a type 19 custom action
that displays the error message and aborts a product's
installation.

I don't know what you intend to have happen with FORCE_ERROR_HERE,
when the attrribute value should be an index into the Error table,
which is an error number.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 appropriate 
> silent install parameters via execommand. Everything builds fine (using VS), 
> and the installer runs but the msiexec call is just throwing up the visual 
> help screen and evidently not installing postgres.
>   

MSI doesn't support running two installs simultaneously; that's why a 
bootstrapper is required.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 apply the patch with msiexec
> and supply the /Quiet option I avoid the GUI altogether (and this is the way
> we will deploy) but it would be nice to know there is a better way (short of
> creating a special patching dialog page).
>   

Nothing built in. Patches are usually applied in quiet mode by a 
bootstrapper.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.


-  Where has it gone? How could I get the shipped example working?



It no longer ships in current WiX builds.

Additionally, I tried to build the whole DialogSet again myself (since 
I couldn't use the sample). But I get strange errors, when light.exe 
is used with all the dialogs in the Mondo-UI.


-  With Wix2925: LGHT0143: A parsed tuple has more fields for 
table 'WixFile' than are defined. This is potencially because a 
standard table is being redefined as a custom table...


-  With Wix3725: LGHT0001: Illegal characters in path



In WiX v3, you don't need to rebuild WixUIExtension, just copy the 
dialog set you're interested in (e.g., WixUI_Mondo.wxs), make the 
changes to add a dialog in the wizard sequence, and add that dialog and 
set .wxs files to your project.


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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, those workarounds are 
effective against the bug.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 specification above?




Upgrade and UpgradeVersion.

--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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) -- when opened in Orca.  

You also need the MsiPatchCertificate table; again, see the MSI SDK.

-- 
sig://boB
http://joyofsetup.com/



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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.
> 
> Is that happening?
> -- 
> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>   
> 
> Legalize Adulthood! 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/rollback-conditions-tp15273453p15282335.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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...

On the other hand, I tried the "Patch Building" tutorial from the WiX
Manual (which does not use torch & pyro). I went through all of the
steps, however msimsp exits with the following error:
...
  INFO: Phase V: Entering Generate MSP.
  INFO: Generating Patch Metadata.
  ERROR: Internal PatchWiz Error occurred.
  ERROR: The Last Error Received is: 1627
  ERROR: The Last Error Received is: 1: 2213 2:
C:\Sources\Installers\DeploymentExamples\SimpleExample-v1.2.patch\patch.msp
3:  4:
...

I tried searching for any examples/solutions, but I couldn't find
anything. Do you know of any solutions to the above described
problems? What is the best way to create such Minor Update Patches?
Are there any patch examples that use WiX3?

Thanks for your help,
>>ruslan

Ref:
Peter Marcu's Blog - Part 3:
http://blogs.msdn.com/pmarcu/archive/2007/06/28/sample-patch.aspx
WiX Manual - http://wix.sourceforge.net/manual-wix2/patch_building.htm

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.

Is that happening?
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 custom action:
  

- Define immediate custom action to set the value of the property to be passed 
to the script as CustomActionData property:
  
IMPORTANT: Property attribute's value of immediate action must match the Id 
attribute's value of deferred action.

- Sequence custom actions so that immediate custom action is executed before 
deferred custom action.

Regards,
Alex



-Original Message-
From: RW [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 3:26 PM
To: wix-users@lists.sourceforge.net
Cc: Alexander Shevchuk
Subject: Re: [WiX-users] Vista security

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 previous (nsis) installer
we created a filename with the date-time in it - if the installer was run
multiple times, the user could revert the configuration file but it would
always keep a backup history.

I see there are MSI date and time properties, but as they are not 'filename
friendly', I cannot append those.  Likewise I don't see any unique install
ID that could be used.

On the security front... I read about the deferred constraint (after writing
my message) and then managed to correctly get the script to run under the
system credentials at the right place, however I found it impossible to pass
a Property (the install location) into the VBS.  The MSI Session appears to
be lost.  There is an example on the WiX tutorial website regarding passing
the 'CustomActionData' property to a DLL for deferred CAs to get around
this, but I couldn't work out how to do that to a VBS.

I did try and create a Property and set it through a CA before chaining the
VBS call, but nothing appeared to appear in VB - that is when I moved back
to CopyFile!

I'm having good fun learning all about MSI through WiX though. :)

Thanks for your help,

Dave





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 previous (nsis) installer
we created a filename with the date-time in it - if the installer was run
multiple times, the user could revert the configuration file but it would
always keep a backup history.

I see there are MSI date and time properties, but as they are not 'filename
friendly', I cannot append those.  Likewise I don't see any unique install
ID that could be used.

On the security front... I read about the deferred constraint (after writing
my message) and then managed to correctly get the script to run under the
system credentials at the right place, however I found it impossible to pass
a Property (the install location) into the VBS.  The MSI Session appears to
be lost.  There is an example on the WiX tutorial website regarding passing
the 'CustomActionData' property to a DLL for deferred CAs to get around
this, but I couldn't work out how to do that to a VBS.  

I did try and create a Property and set it through a CA before chaining the
VBS call, but nothing appeared to appear in VB - that is when I moved back
to CopyFile!

I'm having good fun learning all about MSI through WiX though. :)

Thanks for your help,

Dave





-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 PROTECTED] On Behalf Of Dustin Johnson
Sent: Monday, February 04, 2008 1:47 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Increment Progress Bar?

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
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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 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_ROOT="c:\package\resource" ui.wxs
>
> But this doesn't work as PACKAGE_ROOT doesn't get replaced. Is there
> anyway to pass in this variable for substitution to candle?
>
> cheers,
> James
>
>
> -- 
> --
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 Signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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_ROOT="c:\package\resource" ui.wxs

But this doesn't work as PACKAGE_ROOT doesn't get replaced. Is there 
anyway to pass in this variable for substitution to candle?

cheers,
James



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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_ROOT="c:\package\resource" ui.wxs

But this doesn't work as PACKAGE_ROOT doesn't get replaced. Is there 
anyway to pass in this variable for substitution to candle?

cheers,
James


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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-always-impersonate.aspx).

Also, will  and  action do what you want to do in 
your custom action?

Regards,
Alex


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RW
Sent: Monday, February 04, 2008 10:31 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Vista security

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.








The script is set as no impersonate to try and run as the system level, so
it has security to do the actions it needs - backup files.

Using Orca, the Type is 2054, which as 0x800 is set, should be running as
the system AFAIK.

In the MSI log, I get this:

MSI (s) (44:C8) [13:06:27:351]: Hello, I'm your 32bit Impersonated custom
action server.
MSI (s) (44:6C) [13:06:29:845]: Product: TestProd 1.2.1.5 -- Error 1720.
There is a problem with this Windows Installer package. A script required
for this install to complete could not be run. Contact your support
personnel or package vendor. Custom action BackupFilesOnInstall script error
-2146828218, Microsoft VBScript runtime error: Permission denied Line 37,
Column 41,

Line 37 is this:

if not (fso.FolderExists(Folder)) then fso.CreateFolder Folder

I.e., creating a backup folder.  I have verified that Folder is correct by
MsgBox'ing it (it is like c:\\program files\\myapp\\backup).

So... any ideas why the script cannot create a backup folder?

A big thank you for any suggestions :)

RW


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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)
-- 
View this message in context: 
http://www.nabble.com/rollback-conditions-tp15273453p15273453.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.








The script is set as no impersonate to try and run as the system level, so
it has security to do the actions it needs - backup files.

Using Orca, the Type is 2054, which as 0x800 is set, should be running as
the system AFAIK.

In the MSI log, I get this:

MSI (s) (44:C8) [13:06:27:351]: Hello, I'm your 32bit Impersonated custom
action server.
MSI (s) (44:6C) [13:06:29:845]: Product: TestProd 1.2.1.5 -- Error 1720.
There is a problem with this Windows Installer package. A script required
for this install to complete could not be run. Contact your support
personnel or package vendor. Custom action BackupFilesOnInstall script error
-2146828218, Microsoft VBScript runtime error: Permission denied Line 37,
Column 41,  

Line 37 is this:

if not (fso.FolderExists(Folder)) then fso.CreateFolder Folder

I.e., creating a backup folder.  I have verified that Folder is correct by
MsgBox'ing it (it is like c:\\program files\\myapp\\backup). 

So... any ideas why the script cannot create a backup folder?

A big thank you for any suggestions :)

RW


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.

Phil Wilson

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karthik Krishnan
Sent: Monday, February 04, 2008 8:12 AM
To: Anidil; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Running .exe file as part of OS startup

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 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.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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)

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 (using the .wixpdbs) there I find the following 
line:
BinarySimpleTest
If I interpret this right, this line is telling me, that on row should be added 
to the binary table - as I want to. So I guessed that pyro.exe is not applying 
the transforms as it is supposed to do. Using the -x option in pyro does not 
extract my custom action's binaries, too.

I also tried using the -x option in torch but I got only binaries extracted 
when I use .msi files and not .wixpdb files. For the upgraded image I can 
extract my custom action vbscript file.

Another possible bug I noticed: If I use pyro with a .mst file I receive the 
following error message:
'error PYRO0104 : Not a valid output file; detail: Invalid character in the 
given encoding. Line 1, position 1.'

I could not find any information on this error.

Kind regards,
Paul.
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Paul Chrzanowski
Gesendet: Montag, 4. Februar 2008 11:19
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) in apatchpackage(msp)

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 editing the pcp binary table with orca(this was a mistake on our side).
But if we try the 'only wix' way using torch and pyro we get the following 
error message during installation of our msp package:

DEBUG: Error 2721:  Custom action SimpleTest not found in Binary table stream

It seems that the created diff.wixmst or something else is not correct. We used 
the same commandline arguments as in the wix help file.

Perhaps you still have an idea. Thank you very much.

Best regards,
Paul.


Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Alexander 
Shevchuk
Gesendet: Freitag, 1. Februar 2008 18:32
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) ina patchpackage(msp)

Hello Paul,

I did quick experiment and if I add the "\" in front of the file name, like in 
your sample, I get an error message from light.exe (I am using WiX 2.0):

Light.exe : fatal error LGHT0005: The system cannot find the file specified ...
 Try:



Instead of:




Alex



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Chrzanowski
Sent: Thursday, January 31, 2008 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in a patchpackage(msp)

Hello, Alexander,

thanks for the fast reply, but unfortunately the binary element is not missing 
in our .wxs file.
Here is what our file looks like:


http://schemas.microsoft.com/wix/2006/wi";>

  

   







  

  

  

  


  





  

  


Kind regards,
Paul.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 Wix v3.0.3725, and sincerely i've blown out my brains looking
for what's wrong here, but haven't find yet. 

TIA
Jose
-- 
View this message in context: 
http://www.nabble.com/Not-detecting-correct-version-of-aspnet_regiis.exe-tp15268784p15268784.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 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.
>
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 (using the .wixpdbs) there I find the
following line:

BinarySim
pleTest

If I interpret this right, this line is telling me, that on row should
be added to the binary table - as I want to. So I guessed that pyro.exe
is not applying the transforms as it is supposed to do. Using the -x
option in pyro does not extract my custom action's binaries, too. 

 

I also tried using the -x option in torch but I got only binaries
extracted when I use .msi files and not .wixpdb files. For the upgraded
image I can extract my custom action vbscript file.

 

Another possible bug I noticed: If I use pyro with a .mst file I receive
the following error message:

'error PYRO0104 : Not a valid output file; detail: Invalid character in
the given encoding. Line 1, position 1.'

 

I could not find any information on this error.

 

Kind regards,

Paul.

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Paul
Chrzanowski
Gesendet: Montag, 4. Februar 2008 11:19
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) in
apatchpackage(msp)

 

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 editing the pcp binary table with orca(this was a mistake on our
side).

But if we try the 'only wix' way using torch and pyro we get the
following error message during installation of our msp package:

 

DEBUG: Error 2721:  Custom action SimpleTest not found in Binary table
stream

 

It seems that the created diff.wixmst or something else is not correct.
We used the same commandline arguments as in the wix help file.

 

Perhaps you still have an idea. Thank you very much.

 

Best regards,

Paul.

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Alexander Shevchuk
Gesendet: Freitag, 1. Februar 2008 18:32
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) ina
patchpackage(msp)

 

Hello Paul,

 

I did quick experiment and if I add the "\" in front of the file name,
like in your sample, I get an error message from light.exe (I am using
WiX 2.0):

 

Light.exe : fatal error LGHT0005: The system cannot find the file
specified ...

 Try:

 



 

Instead of:

 



 

 

Alex

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Thursday, January 31, 2008 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in a
patchpackage(msp)

 

Hello, Alexander,

 

thanks for the fast reply, but unfortunately the binary element is not
missing in our .wxs file.

Here is what our file looks like:

 



http://schemas.microsoft.com/wix/2006/wi";>

 

  

 

   



   







 



  



  







  





  



 



 



  



  



 

Kind regards,

Paul.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 same time as the code is written, because I can't do that.
> 
> That means I have no choice but to dynamically generate the Wix XML from 
> a set of files.
> 

Hi Adam,

one point to look might be the enhanced tallow tool named 'mallow' which is
inteded to create consistent guids on subsequent calls. But both are
designed for Wix 2.0 only.

My suggestion is following:
- Use heat (v3.0) to crawl your directories as your starting point
- Adjust all entries to your needs

- When it comes to an upgrade then just run wix, do an administrative
install an compare this directory with your base one. As result you will get
a list which files are missing in install. (Wix will show obsolete files)
- This missing files then must be added to your wxs files (which should not
be a issue since you might use perl)

for comparing the install to your base see
http://www.nabble.com/Wix-layout-td12592040.html for a batch and a nant
solution.

hth

Dominik
-- 
View this message in context: 
http://www.nabble.com/A-set-of-incrementally-more-complex-examples-to-help-writing-build-automation-tp15241530p15268199.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 new setup, but
meanwhile, thanks a lot for your help, you saved me lots of time and
frustration.

MP.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim
MacDonald
Sent: Monday, February 04, 2008 3:15 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] wix 3.0 : what should I use instead of
"AssemblyRegisterComInterop" ?



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 the assembly's COM
information
as registry keys, the down side being that it'll need to be done
whenever
the assembly changes.

cheers,
Karim
-- 
View this message in context:
http://www.nabble.com/wix-3.0-%3A-what-should-I-use-instead-of-%22Assemb
lyRegisterComInterop%22---tp15264475p15267858.html
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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.
..and therein lies the problem, as votive 2 is not msbuild compatible, whereas 
3.0 is.

regards,
Simon 




-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 the assembly's COM information
as registry keys, the down side being that it'll need to be done whenever
the assembly changes.

cheers,
Karim
-- 
View this message in context: 
http://www.nabble.com/wix-3.0-%3A-what-should-I-use-instead-of-%22AssemblyRegisterComInterop%22---tp15264475p15267858.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 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 appropriate 
silent install parameters via execommand. Everything builds fine (using VS), 
and the installer runs but the msiexec call is just throwing up the visual help 
screen and evidently not installing postgres.
 
My question is can and should this be done from within the wix msi? (i.e. call 
another msi in this case postgres), and if so how and does anyone have an 
example?
 
I'm a big fan of wix thus far, and compiling from within VS is great, but I 
need to resolve this and a few other unknowns pretty badly, please help!
 
 
Many thanks.in advance to anyone who can shed light!
 
 S
 
 
 
 
Cheers Rhetty


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 can registrysearch that key, and then just ask if the
user's text is equal to the registry searched property.

2.  If the user enters a registry key NAME and you want to look for that
key and get its value, you'll probably have to use a custom action, in
DLL or VBScript, both are pretty simple to accomplish.

 

Regards,

 

MP.

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tris
Hodges
Sent: Monday, February 04, 2008 1:53 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] RegistrySearch more than once?

 

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



Everything in one place. All new Windows Live!
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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
_
Share what Santa brought you
https://www.mycooluncool.com-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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-very-smart solutions, but I thought I should give it a
go, considering the fact that I already gave you a wrong one :)

 

MP.

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michal
Peled
Sent: Monday, February 04, 2008 1:46 PM
To: Paul Chrzanowski; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6)
inapatchpackage(msp)

 

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:

 





 

(VBScriptCall is the name of the function you're calling inside the .vbs
file. If you don't have a function, wrap your .vbs content as one
function and call it)

 

Then you can call the custom action:

 



  

 

 

Hope that helps,

 

MP.

 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Monday, February 04, 2008 12:19 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in
apatchpackage(msp)

 

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 editing the pcp binary table with orca(this was a mistake on our
side).

But if we try the 'only wix' way using torch and pyro we get the
following error message during installation of our msp package:

 

DEBUG: Error 2721:  Custom action SimpleTest not found in Binary table
stream

 

It seems that the created diff.wixmst or something else is not correct.
We used the same commandline arguments as in the wix help file.

 

Perhaps you still have an idea. Thank you very much.

 

Best regards,

Paul.

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Alexander Shevchuk
Gesendet: Freitag, 1. Februar 2008 18:32
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) ina
patchpackage(msp)

 

Hello Paul,

 

I did quick experiment and if I add the "\" in front of the file name,
like in your sample, I get an error message from light.exe (I am using
WiX 2.0):

 

Light.exe : fatal error LGHT0005: The system cannot find the file
specified ...

 Try:

 



 

Instead of:

 



 

 

Alex

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Thursday, January 31, 2008 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in a
patchpackage(msp)

 

Hello, Alexander,

 

thanks for the fast reply, but unfortunately the binary element is not
missing in our .wxs file.

Here is what our file looks like:

 



http://schemas.microsoft.com/wix/2006/wi";>

 

  

 

   



   







 



  



  







  





  



 



 



  



  



 

Kind regards,

Paul.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.

-  Where has it gone? How could I get the shipped example working?

Additionally, I tried to build the whole DialogSet again myself (since I 
couldn't use the sample). But I get strange errors, when light.exe is used with 
all the dialogs in the Mondo-UI.

-  With Wix2925: LGHT0143: A parsed tuple has more fields for table 
'WixFile' than are defined. This is potencially because a standard table is 
being redefined as a custom table...

-  With Wix3725: LGHT0001: Illegal characters in path

Does anyone know what could have been wrong?

Thanks for any help!

Marcel
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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:

 





 

(VBScriptCall is the name of the function you're calling inside the .vbs
file. If you don't have a function, wrap your .vbs content as one
function and call it)

 

Then you can call the custom action:

 



  

 

 

Hope that helps,

 

MP.

 

 

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Monday, February 04, 2008 12:19 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in
apatchpackage(msp)

 

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 editing the pcp binary table with orca(this was a mistake on our
side).

But if we try the 'only wix' way using torch and pyro we get the
following error message during installation of our msp package:

 

DEBUG: Error 2721:  Custom action SimpleTest not found in Binary table
stream

 

It seems that the created diff.wixmst or something else is not correct.
We used the same commandline arguments as in the wix help file.

 

Perhaps you still have an idea. Thank you very much.

 

Best regards,

Paul.

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Alexander Shevchuk
Gesendet: Freitag, 1. Februar 2008 18:32
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) ina
patchpackage(msp)

 

Hello Paul,

 

I did quick experiment and if I add the "\" in front of the file name,
like in your sample, I get an error message from light.exe (I am using
WiX 2.0):

 

Light.exe : fatal error LGHT0005: The system cannot find the file
specified ...

 Try:

 



 

Instead of:

 



 

 

Alex

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Thursday, January 31, 2008 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in a
patchpackage(msp)

 

Hello, Alexander,

 

thanks for the fast reply, but unfortunately the binary element is not
missing in our .wxs file.

Here is what our file looks like:

 



http://schemas.microsoft.com/wix/2006/wi";>

 

  

 

   



   







 



  



  







  





  



 



 



  



  



 

Kind regards,

Paul.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 in the
Windows Installer package must contain:

 

1.  Property Table:

a.  Manufacturer

b.  ProductCode

c.   ProductLanguage

d.  ProductName

e.  ProductVersion (major and minor) property tags in the Property table
and they were not NULL in order to pass this test case. This means the
application will correctly identify itself in Windows Server 2008 Software
Explorer (Add/Remove Programs).

2.  Upgrade Table:

a.  UpgradeCode

b.  VersionMin

c.   VersionMax

.  The ProductVersion and UpgradeCode tags must be Null in order to
pass this test case. This means the application properly prepared for
upgrade to address the previous package and properly prevents an older
package from installing over a new package.

3.  The ProductCode and UpgradeCode tables must be in a properly
formatted GUID (see NOTES) in order to pass this test case.

 

 

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 specification above?

 

Any help appreciated!

 

 

/Tobias

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 installed at
default location(INSTALLDIR=C:\program files\client\). Upgrades works fine

It is not upgraded at the previous location ie C:\test\

In my  Upgrade UI, I called ReadytoUpgrade Dlg after Welcome Dialog.
My INSTALLDIR = C:\Program Files\Client\
I didnt call selectfolder dialog incase of upgrades.
-- 
View this message in context: 
http://www.nabble.com/Not-upgraded-at-previous-location---Created-at-Default-location-tp15265730p15265730.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 editing the pcp binary table with orca(this was a mistake on our
side).

But if we try the 'only wix' way using torch and pyro we get the
following error message during installation of our msp package:

 

DEBUG: Error 2721:  Custom action SimpleTest not found in Binary table
stream

 

It seems that the created diff.wixmst or something else is not correct.
We used the same commandline arguments as in the wix help file.

 

Perhaps you still have an idea. Thank you very much.

 

Best regards,

Paul.

 

 

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Alexander Shevchuk
Gesendet: Freitag, 1. Februar 2008 18:32
An: wix-users@lists.sourceforge.net
Betreff: Re: [WiX-users] Adding a custom action (type 6) ina
patchpackage(msp)

 

Hello Paul,

 

I did quick experiment and if I add the "\" in front of the file name,
like in your sample, I get an error message from light.exe (I am using
WiX 2.0):

 

Light.exe : fatal error LGHT0005: The system cannot find the file
specified ...

 Try:

 



 

Instead of:

 



 

 

Alex

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Chrzanowski
Sent: Thursday, January 31, 2008 11:32 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding a custom action (type 6) in a
patchpackage(msp)

 

Hello, Alexander,

 

thanks for the fast reply, but unfortunately the binary element is not
missing in our .wxs file.

Here is what our file looks like:

 



http://schemas.microsoft.com/wix/2006/wi";>

 

  

 

   



   







 



  



  







  





  



 



 



  



  



 

Kind regards,

Paul.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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: wix-users@lists.sourceforge.net
Subject: [WiX-users] wix 3.0 : what should I use instead
of"AssemblyRegisterComInterop" ?

 

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 File element contains an unexpected attribute
'AssemblyRegisterComInterop'.

 

I went through the forums, but found no immediate replacement. So, how
do I accomplish this now?

 

Any help appreciated,

 

Michal.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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 File element contains an unexpected attribute
'AssemblyRegisterComInterop'.

 

I went through the forums, but found no immediate replacement. So, how
do I accomplish this now?

 

Any help appreciated,

 

Michal.

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users