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/vse0120000070mrt/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/vse0120000070mrt/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/vse0120000070mrt/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/vse0120000070mrt/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/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to