Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Brian Rogers
Hey Stefan,

On the WixUIPrintEula topic, take a look at the follow link. The main lines
you should look at are 22 and 354 - 383. It actually doesn't look for the
handle on the MSI window. Rather, it reads from the rtf from the control's
text.

http://wix.cvs.sourceforge.net/wix/wix/src/ext/UIExtension/ca/PrintEula.cpp?revision=1.3&view=markup&pathrev=HEAD

Hope this helps!

-- 
Brian Rogers
"Intelligence removes complexity." - Me
http://www.codeplex.com/wixml

On Wed, Jul 30, 2008 at 12:58 AM, Stefan Webb <[EMAIL PROTECTED]> wrote:

> I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the
> standard dialogs from the source and compiled a modified version of them
> with my project. If I include WixUIExtension.dll then it is not possible to
> customize the FilesInUse dialog, as pointed out in an earlier thread.
> However, if I do not include WixUIExtension.dll, then I do not have access
> to the custom actions in PrintEula.dll.
>
> My understanding is that PrintEula.dll contains two functions,
> WixUIPrintEula and WixUIValidatePath. I believe WixUIPrintEula finds the
> handle of the RichEdit control in the MSI window, extracts the text, and
> sends it the printer. It doesn't take or return any parameters. Is this
> correct? I am not sure what the WixUIValidatePath function does, if it is
> crucial and how it is called. I am an experienced Win32 developer and would
> like to implement my own PrintEula.dll file. Would somebody be able to
> provide more information on the PrintEula.dll file?
>
> Thanks,
> Stefan.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Font not correct when uninstall from control panel

2008-07-30 Thread yixie

I've tried to set "", but seems it won't affect.


yixie wrote:
> 
>  http://www.nabble.com/file/p18088307/UninstallFont.jpg 
> 
> Hi,
> 
> My msi behave werid when uninstall from control panel.
> The font for the remained time is inclined, while other product does not.
> 
> Anybody know which font is used by this dialog?
> 
> Thanks!
> 

-- 
View this message in context: 
http://www.nabble.com/Font-not-correct-when-uninstall-from-control-panel-tp18088307p18748252.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Font not correct when uninstall from control panel

2008-07-30 Thread yixie

http://www.nabble.com/file/p18088307/UninstallFont.jpg 

Hi,

My msi behave werid when uninstall from control panel.
The font for the remained time is inclined, while other product does not.

Anybody know which font is used by this dialog?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/Font-not-correct-when-uninstall-from-control-panel-tp18088307p18088307.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Non-admin user can add remove feature, no UAC dialog

2008-07-30 Thread yixie

Hi,

I found my installer don't require elevation if "change" or "repair".
Although tt'll require elevation and UAC dialog popup if "install from not
installed state", or "remove".

I tried it, and found in this way, non-admin user can add/remove feature
without being asked for admin credential.

I went through my wix code, but didn't find anything special/werid.
Has anyone met similar issue before?
Anybody could give some suggestion, where should I pay special attention to?

Many thanks!
-yixie
-- 
View this message in context: 
http://www.nabble.com/Non-admin-user-can-add-remove-feature%2C-no-UAC-dialog-tp18644142p18644142.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom error based on the reslult of a custom action

2008-07-30 Thread Anidil

Hello there

Is there a way i can pop up a custom error message if a custom action that
runs an exe installed as part of the application fails? I read about type 19
CAs but that just aborts the installation throwing an error message..

Any help on this?

-- 
View this message in context: 
http://www.nabble.com/Custom-error-based-on-the-reslult-of-a-custom-action-tp18747345p18747345.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] UAC + devenv setup

2008-07-30 Thread John-Daniel Trask
Hi,

 

We have built a Visual Studio package that we are integrating using WIX.

 

I've run into issues however as we need to run as an administrator. I
applied the required changes to make this work (elevated install privilages,
the custom action that calls devenv /setup was set to before finalize, the
action is deferred and not impersonated). However while this action
completes it doesn't integrate properly and I get COM errors with anything
relating to menu entries and my package in Visual Studio despite no errors
during the install process.

 

When I actually run the MSI using the awkward run-as-admin method of calling
msiexec directly, it works. Something we can't really ask our customers to
do.

 

I explored the WIX output that Visual Studio automatically generates for
Visual Studio packages it has the comment that devenv /setup needs to be
called after finalize as if anything is getting GAC'd it won't be available
until that point.

 

However, my understanding is that the elevated privileges don't get carried
over if done after finalize which is the problem we're seeing here. If my
action gets called before finalize it fails (so it would seem that the
comment in the generated wix document is correct).

 

Is there any way of extending the elevated privileges after finalize?

 

The closest thing I can find about this issue is here:
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg12030.html 

 

Any help or advice would be greatly appreciated as this problem is reaching
that painful point of frustration! :-)

 

John-Daniel Trask

Director

MINDSCAPE


Phone:  

+64 21 434 957


Web:

mindscape.co.nz


Blog:

  blog.bluecog.co.nz

 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Registry question.

2008-07-30 Thread Alexander Shevchuk
Something like this:


  


  







  PROP1
  NOT PROP1 AND 
PROP2
  NOT PROP1 AND NOT 
PROP2


Because AppSearch does not guarantee the order of search execution you need to 
search for both regkeys.  If you think you absolutely must look for an 
alternative key only if first regkey does not exist, you have to do the lookup 
for alternative key in the custom action scheduled after AppSearch.

Regards,
Alex Shevchuk



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kiran 
Nallabothula
Sent: Wednesday, July 30, 2008 5:13 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Registry question.


Hello, In my installer i want to check if a regkey exists if so assign the 
value to a property and if the first regkey doesnt exist i need to verify an 
alternate second regkey and assign the value to the property. I currently i use 
the following snippet to search the registry to get the value from my first 
regkey
 How do i check if the above regkey is 
not present and look in the alternate regkey 
"HKLM\SOFTWARE\Microsoft\commsvr\Setup\MsiInstallPath" and assign the value to 
property "INSTALLDIR"  would be really thankful if somebody could tell me how i 
can accomplish this. thank youKiran Nallabothula.




Keep your kids safer online with Windows Live Family Safety. Help protect your 
kids.
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registry question.

2008-07-30 Thread Kiran Nallabothula

Hello, In my installer i want to check if a regkey exists if so assign the 
value to a property and if the first regkey doesnt exist i need to verify an 
alternate second regkey and assign the value to the property. I currently i use 
the following snippet to search the registry to get the value from my first 
regkey
 How do i check if the above regkey is 
not present and look in the alternate regkey 
"HKLM\SOFTWARE\Microsoft\commsvr\Setup\MsiInstallPath" and assign the value to 
property "INSTALLDIR"  would be really thankful if somebody could tell me how i 
can accomplish this. thank youKiran Nallabothula.
 



Keep your kids safer online with Windows Live Family Safety. Help protect your 
kids. 
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Torch error 0048

2008-07-30 Thread Tony Juricic
With just -bf and -xo as additional linker options Votive creates this
command line:

C:\Program Files\Windows Installer XML v3\bin\Light.exe 
-loc CustomWixUI_en-us.wxl 
-out C:\path\Product.msi 
-pdbout C:\path\Product.wixpdb -bf -xo 
obj\Debug\BrowseDlg.wixobj 
... dialog and other wixobjs ... 
obj\Debug\WelcomeDialog.wixobj


This produces only Project.msi output file. However it is not really MSI
because it can't be opened with Orca, so I guess it is wixpdb. This is
quite confusing. For ex. what purpose does -pdbout
C:\path\Product.wixpdb serve in this context? And than torch thinks it
is wixout rather than wixpdb?!  


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Wilson, Phil
The error is "modules which were not in the manifest are being streamed in".   
I'm thinking that you have something else in the install with the same 
component guid.

Phil Wilson

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harshal Pachpande
Sent: Wednesday, July 30, 2008 4:14 PM
To: WiX-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing assembly to GAC returns Error: 1935, 
HRESULT: 0x80131043 ocassionally

Its back. Attaching files.. please help.

add.cs - library
add.snk - key
 csc /target:library /keyfile:add.snk add.cs

adder.cs - console app making use of GACed add.dll
 csc /r:add.dll adder.cs

GACTest.wxs - wix source
 candle GACTest.wxs
 light GACTest.wixobj
Part of verbose log file

MSI (s) (A4:D0) [16:11:01:623]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=24000)
MSI (s) (A4:D0) [16:11:01:624]: Note: 1: 1935 2:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F} 3: 0x80131043 4: IAssemblyCacheItem
5: Commit 6: 
add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"

MSI (s) (A4:D0) [16:11:01:624]: Note: 1: 2205 2:  3: Error MSI (s) (A4:D0) 
[16:11:01:624]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 1935 MSI (c) (F0:34) [16:11:01:626]: Font created.  Charset: 
Req=0, Ret=0, Font:
Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1935. An error occurred during the installation of assembly 
'add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"'.
Please refer to Help and Support for more information. HRESULT: 0x80131043.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F}
MSI (s) (A4:D0) [16:11:03:445]: Note: 1: 2205 2:  3: Error MSI (s) (A4:D0) 
[16:11:03:445]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` 
WHERE `Error` = 1709 MSI (s) (A4:D0) [16:11:03:445]: Product: GAC Test -- Error 
1935. An error occurred during the installation of assembly 
'add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"'.
Please refer to Help and Support for more information. HRESULT: 0x80131043.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F}
Action ended 16:11:03: InstallFinalize. Return value 3.

On Wed, Jul 30, 2008 at 3:01 PM, Harshal Pachpande < [EMAIL PROTECTED]> wrote:

>  deep regrets for sending incomplete message. I think setting
> Compressed="no" for package might help. I havent got any failure yet,
> tried twice. If I see this again I will notify.
>
> Any comments/suggestions is greatly appreciated.
>   On Wed, Jul 30, 2008 at 2:58 PM, Harshal Pachpande <
> [EMAIL PROTECTED]> wrote:
>
>>  Hello WIXers,
>> I know this issue has been floating around, I would like few pointers
>> to help diagnose the error.
>> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03238.
>> html mentions that hash of each module (/stream?) is checked against
>> that of file and for some reason if there is a mismatch this error is
>> returned and installation fails.
>>
>> Attaching everything.
>>
>
>


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
Its back. Attaching files.. please help.

add.cs - library
add.snk - key
 csc /target:library /keyfile:add.snk add.cs

adder.cs - console app making use of GACed add.dll
 csc /r:add.dll adder.cs

GACTest.wxs - wix source
 candle GACTest.wxs
 light GACTest.wixobj
Part of verbose log file

MSI (s) (A4:D0) [16:11:01:623]: Executing op:
End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=24000)
MSI (s) (A4:D0) [16:11:01:624]: Note: 1: 1935 2:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F} 3: 0x80131043 4: IAssemblyCacheItem
5: Commit 6: 
add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"

MSI (s) (A4:D0) [16:11:01:624]: Note: 1: 2205 2:  3: Error
MSI (s) (A4:D0) [16:11:01:624]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1935
MSI (c) (F0:34) [16:11:01:626]: Font created.  Charset: Req=0, Ret=0, Font:
Req=MS Shell Dlg, Ret=MS Shell Dlg
Error 1935. An error occurred during the installation of assembly
'add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"'.
Please refer to Help and Support for more information. HRESULT: 0x80131043.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F}
MSI (s) (A4:D0) [16:11:03:445]: Note: 1: 2205 2:  3: Error
MSI (s) (A4:D0) [16:11:03:445]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (A4:D0) [16:11:03:445]: Product: GAC Test -- Error 1935. An error
occurred during the installation of assembly
'add,version="1.0.0.0",culture="neutral",publicKeyToken="0D7DC61DB0CCECEB",processorArchitecture="MSIL"'.
Please refer to Help and Support for more information. HRESULT: 0x80131043.
assembly interface: IAssemblyCacheItem, function: Commit, component:
{6A3E31E7-5053-497C-A057-3837C6C7ED5F}
Action ended 16:11:03: InstallFinalize. Return value 3.

On Wed, Jul 30, 2008 at 3:01 PM, Harshal Pachpande <
[EMAIL PROTECTED]> wrote:

>  deep regrets for sending incomplete message. I think setting
> Compressed="no" for package might help. I havent got any failure yet, tried
> twice. If I see this again I will notify.
>
> Any comments/suggestions is greatly appreciated.
>   On Wed, Jul 30, 2008 at 2:58 PM, Harshal Pachpande <
> [EMAIL PROTECTED]> wrote:
>
>>  Hello WIXers,
>> I know this issue has been floating around, I would like few pointers to
>> help diagnose the error.
>> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03238.html 
>> mentions
>> that hash of each module (/stream?) is checked against that of file and for
>> some reason if there is a mismatch this error is returned and installation
>> fails.
>>
>> Attaching everything.
>>
>
>
using System;
using System.Reflection;

[assembly: AssemblyVersion("1.0.0.0")]

namespace MyNamespace
{
public class MyClass
{
public int CustomAdd(int a, int b)
{
return a+b;
}
}
}using System;
using MyNamespace;

namespace GACTesterNamespace
{
class Adder
{
public static void Main(string[] args)
{
MyClass a = new MyClass();
Console.WriteLine(a.CustomAdd(5, 4));
}
}
}-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Stefan Webb
Thanks, this should sort me out.

On Thu, Jul 31, 2008 at 12:48 AM, Neil Enns <[EMAIL PROTECTED]> wrote:

> Stefan,
>
> We had the same problem and resolved it by simply downloading the source to
> WiX and then building the printeula project inside of it. Then we included
> the printeula.dll in our installer.
>
> Neil
>
> 
> From: [EMAIL PROTECTED] [
> [EMAIL PROTECTED] On Behalf Of Stefan Webb [
> [EMAIL PROTECTED]
> Sent: Wednesday, July 30, 2008 12:58 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Information about PrintEula.dll
>
> I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the
> standard dialogs from the source and compiled a modified version of them
> with my project. If I include WixUIExtension.dll then it is not possible to
> customize the FilesInUse dialog, as pointed out in an earlier thread.
> However, if I do not include WixUIExtension.dll, then I do not have access
> to the custom actions in PrintEula.dll.
>
> My understanding is that PrintEula.dll contains two functions,
> WixUIPrintEula and WixUIValidatePath. I believe WixUIPrintEula finds the
> handle of the RichEdit control in the MSI window, extracts the text, and
> sends it the printer. It doesn't take or return any parameters. Is this
> correct? I am not sure what the WixUIValidatePath function does, if it is
> crucial and how it is called. I am an experienced Win32 developer and would
> like to implement my own PrintEula.dll file. Would somebody be able to
> provide more information on the PrintEula.dll file?
>
> Thanks,
> Stefan.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
deep regrets for sending incomplete message. I think setting Compressed="no"
for package might help. I havent got any failure yet, tried twice. If I see
this again I will notify.

Any comments/suggestions is greatly appreciated.
On Wed, Jul 30, 2008 at 2:58 PM, Harshal Pachpande <
[EMAIL PROTECTED]> wrote:

>  Hello WIXers,
> I know this issue has been floating around, I would like few pointers to
> help diagnose the error.
> http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03238.html 
> mentions
> that hash of each module (/stream?) is checked against that of file and for
> some reason if there is a mismatch this error is returned and installation
> fails.
>
> Attaching everything.
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
Hello WIXers,
I know this issue has been floating around, I would like few pointers to
help diagnose the error.
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03238.html
mentions
that hash of each module (/stream?) is checked against that of file and for
some reason if there is a mismatch this error is returned and installation
fails.

Attaching everything.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Chad Petersen
We don't use one executable for two services, but do run into issues
with Services during the install. What I generally do is leave the
install with the error on the screen and then switch away and see what
is going on. First check is to see if the service was installed in
control Panel. If so, then I try to start it manually and see what
errors I get. Sometimes it's a missing dependency, something in the GAC
that was needed, or another service that should have been installed
first. It does help a lot in our environment. The message coming from
the installer is just a bit too generic to give a real idea of what is
stopping it from working in all cases.

Might help??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MarkZune
Sent: Wednesday, July 30, 2008 1:36 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing multiple windows services with
single exe


That was my initial thought as well. Unfortunately that doesn't seem to
work.
As you said, it compiles fine, but I get an error that the service
wasn't
installed correctly when running the install.


Christopher Karper wrote:
> 
> InstallUtil is a DLL that uses the installer classes compiled into
your
> managed service.  So, none of the service deployment information is
going
> to
> be in the file generated by dark.  You will have to look up the
> ServiceInstall element, and enter the same information you have in the
> self
> installer.   You don't even need the installer class at that point for
> release deployment.   I leave mine in FWIW, so I can do easier
> install/uninstall during development and so that I can have people do
a
> manual InstallUtil run if they have issues in the field.
> 
> As far as installing 2 services from the same executable, you will
just
> need
> 2 ServiceInstall elements (one for each service) in the component
> containing
> your executable file.  I know this will build in Wix, but I have not
> tested
> that it will work on deployment..  That I leave as an exercise for the
OP.
> :-D
> 
> Chris
> 
> 

-- 
View this message in context:
http://www.nabble.com/Installing-multiple-windows-services-with-single-e
xe-tp18735510p18742357.html
Sent from the wix-users mailing list archive at Nabble.com.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune

That was my initial thought as well. Unfortunately that doesn't seem to work.
As you said, it compiles fine, but I get an error that the service wasn't
installed correctly when running the install.


Christopher Karper wrote:
> 
> InstallUtil is a DLL that uses the installer classes compiled into your
> managed service.  So, none of the service deployment information is going
> to
> be in the file generated by dark.  You will have to look up the
> ServiceInstall element, and enter the same information you have in the
> self
> installer.   You don't even need the installer class at that point for
> release deployment.   I leave mine in FWIW, so I can do easier
> install/uninstall during development and so that I can have people do a
> manual InstallUtil run if they have issues in the field.
> 
> As far as installing 2 services from the same executable, you will just
> need
> 2 ServiceInstall elements (one for each service) in the component
> containing
> your executable file.  I know this will build in Wix, but I have not
> tested
> that it will work on deployment..  That I leave as an exercise for the OP.
> :-D
> 
> Chris
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Installing-multiple-windows-services-with-single-exe-tp18735510p18742357.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Christopher Karper
InstallUtil is a DLL that uses the installer classes compiled into your
managed service.  So, none of the service deployment information is going to
be in the file generated by dark.  You will have to look up the
ServiceInstall element, and enter the same information you have in the self
installer.   You don't even need the installer class at that point for
release deployment.   I leave mine in FWIW, so I can do easier
install/uninstall during development and so that I can have people do a
manual InstallUtil run if they have issues in the field.

As far as installing 2 services from the same executable, you will just need
2 ServiceInstall elements (one for each service) in the component containing
your executable file.  I know this will build in Wix, but I have not tested
that it will work on deployment..  That I leave as an exercise for the OP.
:-D

Chris


On Wed, Jul 30, 2008 at 2:59 PM, MarkZune <[EMAIL PROTECTED]> wrote:

>
> >Other installers won't use the same CustomAction to install the service.
> I
> >know the ones emitted by the VS deployments use InstallUtil to self
> >register.  You'll need to kind of "translate" the decompiled .wxs into Wix
> >speak.
>
> "Translating" was what I was hoping to do, but I'm new to WIX (and Windows
> Installer in general) so my knowledge is limited. I see the InstallUtil
> referenced in a binary file element, but it's not clear to me how the
> separate services are installed as there doesn't seem to be any specific
> information about them anywhere.
>
> >And I wouldn't see why you'd need two different files for the deployment
> >you're describing.   It should work just fine.
>
> Can you be a little more specific about how I can go about just using the
> single exe to install the services?
>
> Thanks
> Mark
>
>
> --
> View this message in context:
> http://www.nabble.com/Installing-multiple-windows-services-with-single-exe-tp18735510p18740325.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-30 Thread Dana Gutride
Can you search all of your wxs files for configuresql and see if you are
referencing it somewhere?  Maybe in a before or after tag?  Also, have you
replaced the wixlibs with the new ones from the latest WiX 2.0 build?

Dana

On Tue, Jul 29, 2008 at 1:08 PM, Gregory Swanson <[EMAIL PROTECTED]>wrote:

> Yes, everything is rebuilt first using candle, then light.  Am I missing
> something?  This is the complete build script I use:
>
> del ENS.wixobj
> del CustomActions.wixobj
> del ServSrc.wixobj
> del WebSrc.wixobj
> del SiteDataSrc.wixobj
> candle ENS.wxs CustomActions.wxs ServSrc.wxs WebSrc.wxs SiteDataSrc.wxs
> light wixca.wixlib sca.wixlib ENS.wixobj CustomActions.wixobj
> ServSrc.wixobj WebSrc.wixobj SiteDataSrc.wixobj -out ENS.msi
> Thanks,
> g
>
>
>
> > From: [EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net>
> Date: Mon, 28 Jul 2008 20:37:06 -0700> Subject: Re: [WiX-users] Missing
> reference ConfigureSql ?> > IRCC, the ConfigureSql action was renamed
> somewhere in there. Did you rebuild everything?> > -Original
> Message-> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Gregory Swanson>
> Sent: Monday, July 28, 2008 11:29> To: wix-users@lists.sourceforge.net>
> Subject: [WiX-users] Missing reference ConfigureSql ?> > Our upgrade test
> for WIX version 2.0.5805.0 failed with a missing reference:> error LGHT0112
> : Unresolved reference to symbol 'CustomAction:ConfigureSql' in section
> 'Product:87987744-2DCA-4262-B0A2-57B2EEA3FBE9'.> > We copied our build files
> from version 2.0.2912.0 and simply tried to compile with version
> 2.0.5805.0.> > I found a bug reference for this ([ 1653864 ] SqlScript
> element causes ConfigureSql action to fail) with attached note
>  that the bug was fixed and pushed:> Date: 2007-02-07 11:43Sender:
> robmenLogged In: YES user_id=991639Originator: NO> Fixes made in WiX v2 will
> be pushed up to WiX v3 after WiX v2 has beencompleted. WiX v3 is not
> intended for general purpose use yet and willhave severe bugs for the next 6
> months at least. If you want a stabletoolset *right now*, go with WiX v2
> instead.> > Anyone know what is going on with ConfigureSql ?> > Thanks,> g>
> _> Time for
> vacation? WIN what you need- enter now!>
> http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm>
> ->
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge> Build the coolest Linux based applications with Moblin SDK & win
> great prizes> Grand prize is a trip for two to an Open Source event anywhere
> in the world> http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> 
>  ___> WiX-users mailing list>
> WiX-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wix-users> > >
> ->
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge> Build the coolest Linux based applications with Moblin SDK & win
> great prizes> Grand prize is a trip for two to an Open Source event anywhere
> in the world> http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> ___> WiX-users mailing list>
> WiX-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wix-users
> _
> Use video conversation to talk face-to-face with Windows Live Messenger.
>
> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune

>Other installers won't use the same CustomAction to install the service.   I
>know the ones emitted by the VS deployments use InstallUtil to self
>register.  You'll need to kind of "translate" the decompiled .wxs into Wix
>speak.

"Translating" was what I was hoping to do, but I'm new to WIX (and Windows
Installer in general) so my knowledge is limited. I see the InstallUtil
referenced in a binary file element, but it's not clear to me how the
separate services are installed as there doesn't seem to be any specific
information about them anywhere.

>And I wouldn't see why you'd need two different files for the deployment
>you're describing.   It should work just fine.

Can you be a little more specific about how I can go about just using the
single exe to install the services?

Thanks
Mark


-- 
View this message in context: 
http://www.nabble.com/Installing-multiple-windows-services-with-single-exe-tp18735510p18740325.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] books for Wix and Application packaging

2008-07-30 Thread Joel Peterson
Sadly, it's unlikely any exist. We haven't done a very good job of
bugging Phil Wilson into doing one. ;)

I've bound a few resources into book form that I always reference:
http://www.tramontana.co.hu/wix/
http://blogs.msdn.com/windows_installer_team/archive/2006/05/01/587990.a
spx (Make sure you get all of the parts in this series)

Joel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krishnan
Senthilraj
Sent: Tuesday, July 29, 2008 10:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] books for Wix and Application packaging

Hi,

Can some one suggest some good books for MSI Application packaging and
Wix.

Cheers
Senthilraj

-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK &
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall account problem

2008-07-30 Thread Wilson, Phil
1) What's your exact error? There are some differences between them. Are you 
getting 1920 or 1921?

2) I don't remember if you answered this before, but if the installation does 
not roll back, does the service start successfully after the install?

3) Is it C# or managed C++ ?

4) Your service references System.Drawing? Are you attempting to show UI from a 
service running on Vista?

Phil Wilson


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Rieck
Sent: Wednesday, July 30, 2008 6:50 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstall account problem



Thanks, but that can't be the problem. My service only references Framework 
assemblies (mscorlib, System, System.Drawing and System.ServiceProcess).
*Von:* "cemiles" <[EMAIL PROTECTED]>
*Gesendet:* 29.07.08 17:45:38
*An:* wix-users@lists.sourceforge.net
*Betreff:* Re: [WiX-users] ServiceInstall account problem


I'd say that error is very general. Chances are you have missing
dependencies. Run your file through reflector or depends and see what you
might be missing.


Daniel Rieck wrote:
>
>
>
> Hi everyone,
>
> I'm just getting started with WiX.
>
> I want to create a setup to install a service written in .NET. I'm using
> the code snippet found at
> http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html
> [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html]
>
> I removed the Account and Password properties from ServiceInstall, because
> I want the service to run as LocalSystem.
>
> When I run the setup, I get an error message saying I don't have the
> priviliges to install system services. However, I run the setup from an
> elevated command prompt (on Vista), so priviliges shouldn't be a problem.
>
>
>
> Thank you
>
> Daniel Rieck
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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/ServiceInstall-account-problem-tp18707004p18714933.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX-users Digest, Vol 26, Issue 157

2008-07-30 Thread Dane Anderson (Volt)
OK. That's what I needed to know. Thank you.

It might be nice for that little piece of information to get
into the wix docs for the VBScriptCall attribute. It would
have saved me 2 days of hunting for ANY other documentation
about it.

Message: 2
Date: Wed, 30 Jul 2008 09:54:05 -0700
From: Alexander Shevchuk <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message:
5
To: General discussion for Windows Installer XML toolset.

Message-ID:
<[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

Dane,

MSI does not support passing parameters to custom actions (not even C++ custom 
actions).  Options here may include using properties or using custom tables.  
So, the answer to your question is - yes, you need to have wrapper functions 
which will extract parameters from the storage of your choice (properties, 
custom tables, external files, etc) and then calling provided to you functions.

Regards,
Alex Shevchuk



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Chad Petersen
Ryan is correct. The CustomActionData is the Value from the
CustomAction. We pass parameters to many of our functions. In this
example it is Jscript, but no huge difference between that and VBScript
other than you use VBScriptCall. Note the Value has the comma
delimiters. This is in turn used in the Script to parse the parameters.







Jscript function. Note the commented out line is used when debugging the
script OUTSIDE of the installer. Handy to use prior to incorporating
into the installer. The comma is used to split the parameters back out
for the function to utilize.


function AddAppSettings()
{
   var sData = Session.Property("CustomActionData");
   //var sData = ".\\wrd.web.config,FontName2,test2,1";
   var vParams = sData.split(",");
   
   var sWebConfig = vParams[0];
   var sKeyName = vParams[1];
   var sKeyValue = vParams[2];
   var bCommented = vParams[3];
   var bOverride = 1; // controls if the key value is overriden
   if (vParams.length > 4){
bOverride = vParams[4];
   }

SNIP





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
O'Neill
Sent: Wednesday, July 30, 2008 9:55 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

Check down the page (look for 'parameters' or 'CustomActionData').

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dane
Anderson
(Volt)
Sent: 30 July 2008 17:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

[EMAIL PROTECTED]  wrote
> Message: 5
> Date: Wed, 30 Jul 2008 14:13:11 +0100
> From: "Ryan O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Passing parameters to a VB Script function
> Via the VBScriptCall attribute
> To: "'General discussion for Windows Installer XML toolset.'"
> 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
>
> Alex has a good write-up on this here
>
http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-par
t-19
-the-art-of-custom-action-part-1.aspx

You are correct, that is a good write up on using VBScriptCall in a
custom
action, but it does
NOT address my problem. In all of his examples (which I read yesterday),
NONE of his functions
have any parameters. I have been handed (and told to use) VB Script
functions like:

' Execute a given command and route console output
' to the MSI log.
Function Exec(cmd)
...

and

' Write a message to the MSI log.
Function LogInfo(msg)
...

and

' Get the value of a property defined in the MSI.
Function GetProperty(name)
...

I need to pass cmd into the function Exec, and msg into LogInfo, and
name
into GetProperty
as parameters (not properties).

Is there a way to do that within Wix? Or, do I need to create a
workaround
(put the parameters
into properties, and a flag as to which function to call into another
and
call a wrapper
function that pulls the parameters out of the properties, and then calls
the
proper function
with the proper parameters)?


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.7/1581 - Release Date:
30/07/2008
06:56



-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Torch error 0048

2008-07-30 Thread Tony Juricic
Giving command:

"%WIX%bin\torch.exe" -xi rtm\Product.wixpdb upd1\Product.wixpdb -out
Patch\Diff.Wixmst

I get the following error:

error TRCH0048 : The document element name 'wixOutput' is invalid. A WiX
pdb file must use 'wixPdb' as the document element name.

Clearly torch doesn't like something in the way my binary wixpdbs were
created. I'm sure they are binary, first because of their size, second
because they cannot be opened as MSIs with Orca, nor as XML if they were
non-binary.

Here are linker options used to create wixpdbs from wixproj:

  
bin\$(Configuration)\
 
obj\$(Configuration)\
-out $(OutputPath)Project.wixpdb -bf
-xo
  

I simply added -out filename -bf and -xo options to Votive field for
additional linker options as Votive was set up to produce msi by
default.

WiX version is 3.0.4220.0

What did I do wrong and how can I recover from this error? 

I mean, it shouldn't be possible to lose work in this way since I did
get wixpdb output and wixpdb file is the right size - for ex. it must
have bound all my binaries.

Thanks


 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Christopher Karper
Other installers won't use the same CustomAction to install the service.   I
know the ones emitted by the VS deployments use InstallUtil to self
register.  You'll need to kind of "translate" the decompiled .wxs into Wix
speak.

And I wouldn't see why you'd need two different files for the deployment
you're describing.   It should work just fine.

Chris

On Wed, Jul 30, 2008 at 11:08 AM, MarkZune <[EMAIL PROTECTED]> wrote:

>
> I'm creating a WIX setup for a .net c# solution that has a project which
> creates a single EXE for two services and would like to know if it's
> possible to install the services using this single EXE through WIX.
>
> I have an MSI that was already created for this solution so I decompiled it
> using dark but I don't see any  elements present (although
> there were several notices about tables not able to be decompiled when
> run).
>
> Thanks for any help.
> Mark
> --
> View this message in context:
> http://www.nabble.com/Installing-multiple-windows-services-with-single-exe-tp18735510p18735510.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Ryan O'Neill
Check down the page (look for 'parameters' or 'CustomActionData').

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson
(Volt)
Sent: 30 July 2008 17:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

[EMAIL PROTECTED]  wrote
> Message: 5
> Date: Wed, 30 Jul 2008 14:13:11 +0100
> From: "Ryan O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Passing parameters to a VB Script function
> Via the VBScriptCall attribute
> To: "'General discussion for Windows Installer XML toolset.'"
> 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
>
> Alex has a good write-up on this here
>
http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19
-the-art-of-custom-action-part-1.aspx

You are correct, that is a good write up on using VBScriptCall in a custom
action, but it does
NOT address my problem. In all of his examples (which I read yesterday),
NONE of his functions
have any parameters. I have been handed (and told to use) VB Script
functions like:

' Execute a given command and route console output
' to the MSI log.
Function Exec(cmd)
...

and

' Write a message to the MSI log.
Function LogInfo(msg)
...

and

' Get the value of a property defined in the MSI.
Function GetProperty(name)
...

I need to pass cmd into the function Exec, and msg into LogInfo, and name
into GetProperty
as parameters (not properties).

Is there a way to do that within Wix? Or, do I need to create a workaround
(put the parameters
into properties, and a flag as to which function to call into another and
call a wrapper
function that pulls the parameters out of the properties, and then calls the
proper function
with the proper parameters)?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.7/1581 - Release Date: 30/07/2008
06:56


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Alexander Shevchuk
Dane,

MSI does not support passing parameters to custom actions (not even C++ custom 
actions).  Options here may include using properties or using custom tables.  
So, the answer to your question is - yes, you need to have wrapper functions 
which will extract parameters from the storage of your choice (properties, 
custom tables, external files, etc) and then calling provided to you functions.

Regards,
Alex Shevchuk



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson 
(Volt)
Sent: Wednesday, July 30, 2008 9:36 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

[EMAIL PROTECTED]  wrote
> Message: 5
> Date: Wed, 30 Jul 2008 14:13:11 +0100
> From: "Ryan O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Passing parameters to a VB Script function
> Via the VBScriptCall attribute
> To: "'General discussion for Windows Installer XML toolset.'"
> 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
>
> Alex has a good write-up on this here
> http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19-the-art-of-custom-action-part-1.aspx

You are correct, that is a good write up on using VBScriptCall in a custom 
action, but it does
NOT address my problem. In all of his examples (which I read yesterday), NONE 
of his functions
have any parameters. I have been handed (and told to use) VB Script functions 
like:

' Execute a given command and route console output
' to the MSI log.
Function Exec(cmd)
...

and

' Write a message to the MSI log.
Function LogInfo(msg)
...

and

' Get the value of a property defined in the MSI.
Function GetProperty(name)
...

I need to pass cmd into the function Exec, and msg into LogInfo, and name into 
GetProperty
as parameters (not properties).

Is there a way to do that within Wix? Or, do I need to create a workaround (put 
the parameters
into properties, and a flag as to which function to call into another and call 
a wrapper
function that pulls the parameters out of the properties, and then calls the 
proper function
with the proper parameters)?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Dane Anderson (Volt)
[EMAIL PROTECTED]  wrote
> Message: 5
> Date: Wed, 30 Jul 2008 14:13:11 +0100
> From: "Ryan O'Neill" <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Passing parameters to a VB Script function
> Via the VBScriptCall attribute
> To: "'General discussion for Windows Installer XML toolset.'"
> 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
>
> Alex has a good write-up on this here
> http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19-the-art-of-custom-action-part-1.aspx

You are correct, that is a good write up on using VBScriptCall in a custom 
action, but it does
NOT address my problem. In all of his examples (which I read yesterday), NONE 
of his functions
have any parameters. I have been handed (and told to use) VB Script functions 
like:

' Execute a given command and route console output
' to the MSI log.
Function Exec(cmd)
...

and

' Write a message to the MSI log.
Function LogInfo(msg)
...

and

' Get the value of a property defined in the MSI.
Function GetProperty(name)
...

I need to pass cmd into the function Exec, and msg into LogInfo, and name into 
GetProperty
as parameters (not properties).

Is there a way to do that within Wix? Or, do I need to create a workaround (put 
the parameters
into properties, and a flag as to which function to call into another and call 
a wrapper
function that pulls the parameters out of the properties, and then calls the 
proper function
with the proper parameters)?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-30 Thread Jason
You could use InstallRite or InstallWatch to capture a before and after
image of both installations.

On Tue, Jul 29, 2008 at 8:12 AM, Ryan O'Neill <[EMAIL PROTECTED]> wrote:

> OK, so I owe you money then :)
>
> Any way of doing some kind of sysdiff to see what WiX is not doing
> correctly?
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Morris, John
> -
> Raleigh
> Sent: 29 July 2008 13:47
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Failure using WiX installer certificates with WCF
>
> I've looked into that issue too. That was my first thought. The
> permissions on the certificate are correct.  WCF refuses to use the
> certificate when WiX does the installation.  I tried adjusting the
> permissions using 3 different tools (MMC console, cacls and
> winhttpcertcfg). When WiX does the install, WCF won't use it. If I
> manually install the certificate and adjust permissions, it works fine.
> The WiX extension is broken here, not doubt.
>
> FYI: I am using Vista SP1 as the target OS.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ryan
> O'Neill
> Sent: Tuesday, July 29, 2008 5:34 AM
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] Failure using WiX installer certificates with
> WCF
>
> I know you say you checked this, but I had this (although not WiX
> created)
> last week. I would put money on the file permissions not being correct
> for
> the WCF/IIS user to access. The error I received was the same and using
> 'findprivatekey.exe' from the SDK helped me locate it on disk. As I'm in
> development I just set 'Everyone' to full access and it worked.
>
> This particular part of the exception 'The process must have access
> rights
> for the private key.' makes me think that. Although it could have got
> put
> into the wrong container somehow (personal instead of computer level for
> instance).
>
> Hope that helps
>
> Ryan
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob
> Mensching
> Sent: 29 July 2008 04:49
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Failure using Wix installer certificates with
> WCF
>
> That's a new one on me.  Certificates have proven to be no end of fun.
> I
> should have known this since they are part of the CryptoAPI and that API
> is
> one of the most cryptic around.  Sorry, couldn't resist the pun.
> 
>
> Anyway, something subtle is clearly different but I don't have any iea
> where
> to start looking.  If you find a specific issue, it'd be great to file a
> bug
> against it.  I'm going to start plowing through the certificate bugs
> soon.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Morris,
> John -
> Raleigh
> Sent: Monday, July 28, 2008 11:59
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Failure using Wix installer certificates with WCF
>
> I have a wix project that uses the IIS extension to install a simple
> x509 certificate. Here is my wix snippet:
>
>
>
> SourceFile="$(var.Binaries)\MyCertificate.pfx" />
>
>
>
>
>
>  
>
>
>
>   KeyPath="yes">
>
>
>
>
> BinaryKey="BIN_ MyCertificate "
>
> Name="My Certificate"
>
> Overwrite="yes"
>
> PFXPassword="MyPassword"
>
> Request="no"
>
> StoreLocation="localMachine"
>
> StoreName="personal" />
>
>  
>
>
>
>
>
>
>
> The certificate appears to install ok. I then use a custom action to
> execute the winhttpcertcfg utility to adjust the permissions this
> certificate. That appears to work too.  However, when I try to run a WCF
> based service (in IIS), I get the error below, in the event log. If I
> try running an install without have Wix do the certificate installation
> (ie I manually install it), everything works ok.  When Wix installs the
> certificate, I can see the entry in the MMC console, but WCF won't use
> it.
>
>
>
> Am I missing something here, or is there a known bug concerning this
> scenario?
>
>
>
> Thanks, John
>
>
>
> (Event log details below)
>
>
>
> WebHost failed to process a request.
>
>  Sender Information:
> System.ServiceModel.ServiceHostingEnvironment+HostingManager/18271112
>
>  Exception: System.ServiceModel.ServiceActivationException: The service
> '/SelectServer/Integration/v1/Registration.svc' cannot be activated due
> to an exception during compilation.  The exception message is: The
> certificate 'CN=My Certificate' must have a private key that is capable
> of key exchange. The process must have access rights for the private
> key.. ---> System.ArgumentException: The certificate 'CN=My Certificate'
> must have a private key that is capable of key exchange. The process
> mu

Re: [WiX-users] VS 2005 problem with Wix 3.0.4311.0 version

2008-07-30 Thread MarkZune

I have the same/similar problem. 

It's odd in that it was working fine on my machine (and then for other
reasons) when I had to reimage it and now it's not working. When I just have
a WIX project in the solution I cannot see the project, but if I add another
project such as a console app I can see both of them. This isn't a terribly
big deal for me as my main WIX project is part of a larger solution but I
noticed it when downloading sample WIX tutorial projects.

I haven't tried the reinstall yet.

Mark

-- 
View this message in context: 
http://www.nabble.com/VS-2005-problem-with-Wix-3.0.4311.0-version-tp18484677p18735976.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune

I'm creating a WIX setup for a .net c# solution that has a project which
creates a single EXE for two services and would like to know if it's
possible to install the services using this single EXE through WIX.

I have an MSI that was already created for this solution so I decompiled it
using dark but I don't see any  elements present (although
there were several notices about tables not able to be decompiled when run).

Thanks for any help.
Mark
-- 
View this message in context: 
http://www.nabble.com/Installing-multiple-windows-services-with-single-exe-tp18735510p18735510.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Neil Enns
Stefan,

We had the same problem and resolved it by simply downloading the source to WiX 
and then building the printeula project inside of it. Then we included the 
printeula.dll in our installer.

Neil


From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Stefan Webb [EMAIL 
PROTECTED]
Sent: Wednesday, July 30, 2008 12:58 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Information about PrintEula.dll

I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the
standard dialogs from the source and compiled a modified version of them
with my project. If I include WixUIExtension.dll then it is not possible to
customize the FilesInUse dialog, as pointed out in an earlier thread.
However, if I do not include WixUIExtension.dll, then I do not have access
to the custom actions in PrintEula.dll.

My understanding is that PrintEula.dll contains two functions,
WixUIPrintEula and WixUIValidatePath. I believe WixUIPrintEula finds the
handle of the RichEdit control in the MSI window, extracts the text, and
sends it the printer. It doesn't take or return any parameters. Is this
correct? I am not sure what the WixUIValidatePath function does, if it is
crucial and how it is called. I am an experienced Win32 developer and would
like to implement my own PrintEula.dll file. Would somebody be able to
provide more information on the PrintEula.dll file?

Thanks,
Stefan.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching SQL Database with script

2008-07-30 Thread Eric Latendresse
Could you give a little more information? Would these new scripts need
to be included in a separate component other than my SQL Database
component? In my installer I am creating a new database and running a
script CreateTable.sql on the install. This works. For the patch I
changed the CreateTable.sql to AlterTable.sql in my Setup.wxs. I want to
include new sql scripts in the updated .msi and create a patch that will
execute the changed sql. Does it need to have a different Binary Key?
When executing the patch.msp I get an option to Change/Repair/Remove.
I've tried both Change and repair, but it seems Change is the option I
want to use since it asks for the SQL credentials. The assemblies are
getting updated but the script is not being run. I'm a little unsure how
this is all suppose to work. 


















Eric 



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Monday, July 28, 2008 10:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching SQL Database with script

The SqlScript element (or SqlString if you just want to run a couple
strings).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Latendresse
Sent: Monday, July 28, 2008 14:59
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patching SQL Database with script

My initial installer creates the SQL database perfectly, but I want to
be able to include new SQL scripts to be run with my patches. Could
someone give me some insight on how to do this?



Eric






-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Determining the port number of the default IIS website

2008-07-30 Thread José Diaz Seng
Hi,
I would like a setup created using WiX to be able to find out the port of the 
default IIS website. We need this to ensure an install succeeds even if the 
port is different from the standard "80" and want to spare the user performing 
the installation having to determine and type in the port number. Is this 
possible (maybe using the WixIIsExtension dll)?

Right now my setup reads the default website install location using a registry 
search. It would be nicer to read this and possibly more information directly 
from the IIS metabase. How could this be done during a setup?
Thanks
José
-- 




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error Creating Patch

2008-07-30 Thread Eric Latendresse
I found the problem. The paths in the Patch.wxs to the two .msi's were
incorrect. 

Eric 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Monday, July 28, 2008 10:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error Creating Patch

What version of WiX?  What was the command-line?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric
Latendresse
Sent: Monday, July 28, 2008 10:21
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error Creating Patch

I was successful in creating the two different .msi's. Built the
transform with torch. Compiled the Patch.wxs. But when I run pyro I get
this error.



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



Anyone have any ideas why this is happening or know how I can debug
this?



Thanks,



Eric






-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CloseApplication

2008-07-30 Thread John Lister
Cheers  I'll give that a go.

> John Lister wrote:
>>  I can use CloseApplication to set a property and use this to alter the 
>> UI
>> sequence asking the user if they want IE to be restarted. But i'm unsure 
>> how
>>  to actually use it to close IE. I'm guessing it is through the use of a
>> custom action, but i'm not sure where to go from here.
>>
>
> If you specify CloseMessage="yes" the custom action should send a close
> message for you.
>
>> Additionally while checking this, i've realised that although i can set 
>> the
>> property, it is set before the UI part runs and therefore i can't 
>> reference
>> it in my dialogs - how can i bump this up the install sequence?
>>
>
> The custom action is scheduled by default in InstallExecuteSequence. You
> need to add it to InstallUISequence:
>
> 
> 
> 
>
> -- 
> sig://boB
> http://joyofsetup.com/
>
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall account problem

2008-07-30 Thread Daniel Rieck


Thanks, but that can't be the problem. My service only references Framework 
assemblies (mscorlib, System, System.Drawing and System.ServiceProcess).
*Von:* "cemiles" <[EMAIL PROTECTED]>
*Gesendet:* 29.07.08 17:45:38
*An:* wix-users@lists.sourceforge.net
*Betreff:* Re: [WiX-users] ServiceInstall account problem


I'd say that error is very general. Chances are you have missing
dependencies. Run your file through reflector or depends and see what you
might be missing.


Daniel Rieck wrote:
> 
> 
> 
> Hi everyone,
> 
> I'm just getting started with WiX.
> 
> I want to create a setup to install a service written in .NET. I'm using
> the code snippet found at
> http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html
> [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html]
> 
> I removed the Account and Password properties from ServiceInstall, because
> I want the service to run as LocalSystem.
> 
> When I run the setup, I get an error message saying I don't have the
> priviliges to install system services. However, I run the setup from an
> elevated command prompt (on Vista), so priviliges shouldn't be a problem.
> 
> 
> 
> Thank you
> 
> Daniel Rieck
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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/ServiceInstall-account-problem-tp18707004p18714933.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Passing parameters to a VB Script function Via the VBScriptCall attribute

2008-07-30 Thread Ryan O'Neill
Alex has a good write-up on this here
http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19
-the-art-of-custom-action-part-1.aspx


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson
(Volt)
Sent: 30 July 2008 13:08
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Passing parameters to a VB Script function Via the
VBScriptCall attribute

OK, yes, I know that using VBScript for custom actions is not recommended.
However I have
no choice in the matter. This is how my boss wants it done. That said, I
need to pass some
parameters to the function being called, and I can't find any (documented)
way to do it. I've
found (via google) LOTS of examples of it being done without the function
having any
parameters, but NONE where the function DOES have parameters. An example
(from
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg07784.html):




So, how would I pass parameters to the function ShutdownIIS (assuming it
took any parameters)?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.7/1580 - Release Date: 29/07/2008
17:26


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Passing parameters to a VB Script function Via the VBScriptCall attribute

2008-07-30 Thread Dane Anderson (Volt)
OK, yes, I know that using VBScript for custom actions is not recommended. 
However I have
no choice in the matter. This is how my boss wants it done. That said, I need 
to pass some
parameters to the function being called, and I can't find any (documented) way 
to do it. I've
found (via google) LOTS of examples of it being done without the function 
having any
parameters, but NONE where the function DOES have parameters. An example
(from 
http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg07784.html):




So, how would I pass parameters to the function ShutdownIIS (assuming it took 
any parameters)?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Abubakar
hi,
if you download the source code for wix, than inside \src\ca\wixca\dll you
will find a file called PrintEula.cpp which contiains the code  for this
printing functionality. So you can see everything being done there.

..ab


On Wed, Jul 30, 2008 at 12:58 PM, Stefan Webb <[EMAIL PROTECTED]> wrote:

> I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the
> standard dialogs from the source and compiled a modified version of them
> with my project. If I include WixUIExtension.dll then it is not possible to
> customize the FilesInUse dialog, as pointed out in an earlier thread.
> However, if I do not include WixUIExtension.dll, then I do not have access
> to the custom actions in PrintEula.dll.
>
> My understanding is that PrintEula.dll contains two functions,
> WixUIPrintEula and WixUIValidatePath. I believe WixUIPrintEula finds the
> handle of the RichEdit control in the MSI window, extracts the text, and
> sends it the printer. It doesn't take or return any parameters. Is this
> correct? I am not sure what the WixUIValidatePath function does, if it is
> crucial and how it is called. I am an experienced Win32 developer and would
> like to implement my own PrintEula.dll file. Would somebody be able to
> provide more information on the PrintEula.dll file?
>
> Thanks,
> Stefan.
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Trying to define virtual dir based on property value

2008-07-30 Thread José Diaz Seng
Hi Rob,
thanks for your helpful hint and your quick response. I took some time to read 
your very informative 7 part series. The statement "Directories are 
properties." was the key for solving my problem.
Cheers,
José

> Not quite using the Directory table correctly.  You might work backwards
> from this blog entry:
> http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx.
>   I
> think that'll clear up a lot about the way Directory and Properties are
> intertwined.

> 
> Hi,
> 
> I am using wix-3.0.4318.0 together with SharpDevelop 3 and have
> successfully created an installer source file. Now I would like the user to 
> be able
> to change the virtual directory name (as well as the location of the
> referenced directory, but let's focus on the first problem...). So I defined a
> property "TARGETVDIR", added a custom dialog and succeeded in letting the user
> edit the property. My problem is that the property's value does not get
> used for the virtual directory name. I tried:
> 
> ...
> 
> ...
> 
>   
> 
>   
> 
> ...
> 
> 
> which does not work, the virtual directory name is "TARGETVDIR", not its
> value "MyApp". I also tried with Name="[TARGETVDIR]", which resulted on the
> name being "[TARGETVDIR]".
> Do I need to influence the processing order so that the property gets
> evaluated earlier or how else can I solve this?
> Thanks!
> José


-- 




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Information about PrintEula.dll

2008-07-30 Thread Stefan Webb
I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the
standard dialogs from the source and compiled a modified version of them
with my project. If I include WixUIExtension.dll then it is not possible to
customize the FilesInUse dialog, as pointed out in an earlier thread.
However, if I do not include WixUIExtension.dll, then I do not have access
to the custom actions in PrintEula.dll.

My understanding is that PrintEula.dll contains two functions,
WixUIPrintEula and WixUIValidatePath. I believe WixUIPrintEula finds the
handle of the RichEdit control in the MSI window, extracts the text, and
sends it the printer. It doesn't take or return any parameters. Is this
correct? I am not sure what the WixUIValidatePath function does, if it is
crucial and how it is called. I am an experienced Win32 developer and would
like to implement my own PrintEula.dll file. Would somebody be able to
provide more information on the PrintEula.dll file?

Thanks,
Stefan.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] adding current date time to folder name

2008-07-30 Thread Abubakar
Hi,
I write the following tags for my folder:

  

  


Now in the name "[EMAIL PROTECTED]" I want to append the date and time to
this folder name when the installation was taking place. How do I do that?

Regards,

..ab
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users