Re: [WiX-users] Custom Action type 1042 and 18

2007-11-24 Thread SaiTeja

Hi Daryn,

Thanks for your responses.

When I apply dark for an existing MSI, am getting following error.

Can you please let me know what is the problem


C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszipdark.e
xe Control Client.msi Control Client.wxs
Microsoft (R) Windows Installer Xml Decompiler Version 3.0.2925.0
Copyright (C) Microsoft Corporation 2003. All rights reserved.


Control Client.msi
dark.exe : error DARK0001 : Cannot set column 'KeyColumn' with value 0
because i
t is less than the minimum allowed value for this column, 1.

Exception Type: System.InvalidOperationException

Stack Trace:
   at
Microsoft.Tools.WindowsInstallerXml.ColumnDefinition.ValidateValue(Object
value)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, Database database, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.UnbindDatabase(String
databas
eFile, OutputType outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Unbinder.Unbind(String file,
OutputTyp
e outputType, String exportBasePath)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Dark.Run(String[] args)

C:\Documents and Settings\sai_teja\Desktop\wix-3.0.2925.0-binarieszip


Thanks





Daryn Mitchell wrote:
 
 
 Here's a couple of possibilities:
 
 1) If you've got an existing MSI you're converting to Wix, use the Wix
 tools
 (Dark) to decompile it into Wix markup.
 
 2) Very handy Custom Action Type Calculator on the InstallShield web site
 makes the guess and test go much quicker. (Needs IE, doesn't work in
 Firefox
 for me.)
 http://helpnet.installshield.com/robo/projects/helplibdevstudio9/IHelpDLLFun
 ctionCalcType.htm
 
 3) The Custom Action Reference on MSDN provides the real info on the flag
 values.
 (http://msdn2.microsoft.com/en-us/library/aa368070.aspx)
 You break your known type into its component pieces. Note that you seem to
 have to step through a bunch pages to find everything you're looking for
 (types, scheduling options, etc.) - maybe there's a page somewhere that
 has
 them all on one page?
 
 
 Daryn.
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Thursday, November 22, 2007 10:14 PM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Custom Action type 1042 and 18
 
 Now I need Type as 1554. ...
 
 Return= ??
 Execute=deferred
 Impersonate=??
 HideTarget=??
 
 ... is there a way to find out the same or it is just trail and error
 
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13932831
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-23 Thread Jim Williams
I would like to figure it out for you, but the only way you will ever
figure out how to do it for yourself is to see the information on Custom
Actions at http://msdn2.microsoft.com/en-us/library/Aa368062.aspx.  On
that page under the description for Type are some links that show the
values that, when added together, will total the type value you are
looking for.  These values are the custom action type and the attributes
for execution return processing, scheduling, etc.  You should be able to
figure out from these values what attribute values to add together to
get the result you want. :-)  Then based on the set of attribute values
you come up with, just look at the settings for the WiX CustomAction
element and choose the appropriate settings to match.  You may have to
play around with it some to achieve the value you want, but this will
help you in doing the same for other custom attributes in the future.

Jim Williams
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: Thursday, November 22, 2007 10:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action type 1042 and 18



Hi Jim

Now I need Type as 1554. Can you tell me the values.

Return= ??
Execute=deferred
Impersonate=??
HideTarget=??

Also is there a way to find out the same or it is just trail and error








SaiTeja wrote:
 
 Thanks Jim
 
 Its showing now type as 1042. 
 
 Thanks a lot.
 
 
 
 
 Jim Williams-3 wrote:
 
 All of the custom action attributes, when coded into the action type
 give a different value depending on what is specified for the
attribute.
 So changing a value from yes to no can make a big difference in
the
 value... they are just bit settings and to the action type.  But if
you
 specifically want 1042, then, try:
 
 Return=check
 Execute=deferred
 Impersonate=yes
 HideTarget=no
 
 But these values may not be what you want for executing the custom
 action.
 
 Jim
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Friday, November 16, 2007 12:47 AM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Custom Action type 1042 and 18
 
 
 Hello Jim,
 
 I replaced Execute with  deferred 
 
 now is showing when i open orca type 11346.
 But I want type should be 1042
 
 below is code
 
  CustomAction Id=LQMI_DisableInPlace Return=ignore
 HideTarget=yes
 Execute=deferred Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace FileKey=lqmireg.exe
 /CustomAction
 
 Please let me know
 
 
 Jim Williams-3 wrote:
 
 I think you want Execute=deferred.
 
 Jim
 
below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
 HideTarget=no
Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want
type
should be 1042

Could you tell me how to do this
 



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

http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a137
 88852
 Sent from the wix-users mailing list archive at Nabble.com.
 
 


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


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

-- 
View this message in context:
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a139
07396
Sent from the wix-users mailing list archive at Nabble.com.



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

Re: [WiX-users] Custom Action type 1042 and 18

2007-11-23 Thread Daryn Mitchell

Here's a couple of possibilities:

1) If you've got an existing MSI you're converting to Wix, use the Wix tools
(Dark) to decompile it into Wix markup.

2) Very handy Custom Action Type Calculator on the InstallShield web site
makes the guess and test go much quicker. (Needs IE, doesn't work in Firefox
for me.)
http://helpnet.installshield.com/robo/projects/helplibdevstudio9/IHelpDLLFun
ctionCalcType.htm

3) The Custom Action Reference on MSDN provides the real info on the flag
values.
(http://msdn2.microsoft.com/en-us/library/aa368070.aspx)
You break your known type into its component pieces. Note that you seem to
have to step through a bunch pages to find everything you're looking for
(types, scheduling options, etc.) - maybe there's a page somewhere that has
them all on one page?


Daryn.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: Thursday, November 22, 2007 10:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action type 1042 and 18

Now I need Type as 1554. ...

Return= ??
Execute=deferred
Impersonate=??
HideTarget=??

... is there a way to find out the same or it is just trail and error




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


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-16 Thread SaiTeja

Hello Jim,

I replaced Execute with  deferred 

now is showing when i open orca type 11346.
But I want type should be 1042

below is code

CustomAction Id=LQMI_DisableInPlace Return=ignore HideTarget=yes
Execute=deferred Impersonate=no TerminalServerAware=no
ExeCommand=DisableBrowseInPlace FileKey=lqmireg.exe
/CustomAction

Please let me know


Jim Williams-3 wrote:
 
 I think you want Execute=deferred.
 
 Jim
 
below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
 HideTarget=no
Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want type
should be 1042

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

-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13788852
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-16 Thread Jim Williams
All of the custom action attributes, when coded into the action type
give a different value depending on what is specified for the attribute.
So changing a value from yes to no can make a big difference in the
value... they are just bit settings and to the action type.  But if you
specifically want 1042, then, try:

Return=check
Execute=deferred
Impersonate=yes
HideTarget=no

But these values may not be what you want for executing the custom
action.

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
Sent: Friday, November 16, 2007 12:47 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action type 1042 and 18


Hello Jim,

I replaced Execute with  deferred 

now is showing when i open orca type 11346.
But I want type should be 1042

below is code

CustomAction Id=LQMI_DisableInPlace Return=ignore
HideTarget=yes
Execute=deferred Impersonate=no TerminalServerAware=no
ExeCommand=DisableBrowseInPlace FileKey=lqmireg.exe
/CustomAction

Please let me know


Jim Williams-3 wrote:
 
 I think you want Execute=deferred.
 
 Jim
 
below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
 HideTarget=no
Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want type
should be 1042

Could you tell me how to do this
 


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

-- 
View this message in context:
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a137
88852
Sent from the wix-users mailing list archive at Nabble.com.



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

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


[WiX-users] Custom Action type 1042 and 18

2007-11-16 Thread SaiTeja

Hi 

below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe HideTarget=no
Impersonate=no TerminalServerAware=no  ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /

When I open msi with orca, it is showing type as 2066. But I want type
should be 1042

Could you tell me how to do this
-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13787083
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-16 Thread SaiTeja

Thanks Jim

Its showing now type as 1042. 

Thanks a lot.




Jim Williams-3 wrote:
 
 All of the custom action attributes, when coded into the action type
 give a different value depending on what is specified for the attribute.
 So changing a value from yes to no can make a big difference in the
 value... they are just bit settings and to the action type.  But if you
 specifically want 1042, then, try:
 
 Return=check
 Execute=deferred
 Impersonate=yes
 HideTarget=no
 
 But these values may not be what you want for executing the custom
 action.
 
 Jim
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of SaiTeja
 Sent: Friday, November 16, 2007 12:47 AM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Custom Action type 1042 and 18
 
 
 Hello Jim,
 
 I replaced Execute with  deferred 
 
 now is showing when i open orca type 11346.
 But I want type should be 1042
 
 below is code
 
   CustomAction Id=LQMI_DisableInPlace Return=ignore
 HideTarget=yes
 Execute=deferred Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace FileKey=lqmireg.exe
 /CustomAction
 
 Please let me know
 
 
 Jim Williams-3 wrote:
 
 I think you want Execute=deferred.
 
 Jim
 
below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
 HideTarget=no
Impersonate=no TerminalServerAware=no
 ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want type
should be 1042

Could you tell me how to do this
 

 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 -- 
 View this message in context:
 http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a137
 88852
 Sent from the wix-users mailing list archive at Nabble.com.
 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4819034.html#a13806014
Sent from the wix-users mailing list archive at Nabble.com.


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


[WiX-users] Custom Action type 1042 and 18

2007-11-15 Thread SaiTeja

Hi,

Can any one give me example/How to write custom actions for following types

- Type 1042.
- Type 18


Thanks,

-- 
View this message in context: 
http://www.nabble.com/Custom-Action-type-1042-and-18-tf4812070.html#a13768333
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action type 1042 and 18

2007-11-15 Thread Jim Williams
I think you want Execute=deferred.

Jim

below is my custom action.

CustomAction Id=LQMI_DisableInPlace FileKey=abc.exe
HideTarget=no
Impersonate=no TerminalServerAware=no
ExeCommand=DisableBrowseInPlace
Execute=immediate Return=check /
 
When I open msi with orca, it is showing type as 2066. But I want type
should be 1042

Could you tell me how to do this

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