Hi Again...

You cannot use the INSTALLUILEVEL_NONE string in the WiX. It is
defined only in some C++ header file and you can use it in the C++
project.
You need to use the UILevel property. It means:

<InstallExecuteSequence>
  <Custom Action="test" Sequence='1200'>UILevel=2</Custom>
</InstallExecuteSequence>

UILevel is name of property and 2 is value which means
INSTALLUILEVEL_NONE.

Regards

Stefan
SaiTeja wrote:
> Hi
> 
>  I want to execute some custom actions only in Silent Mode
> 
> For ex: Custaction1,Custaction2,Custaction3,Custaction4, etc
> When I run in Silent Mode Custaction1 and Custaction2,
> Custaction3,Custaction4 Should execute
> When I run in UI mode, only Custaction3, Custaction4 should execute
> 
> I tried in two ways.
> 
>      <Property Id="SilentInstall">INSTALLUILEVEL_NONE</Property>
>       
>       For custom action:
> 
>       <InstallExecuteSequence>
>          <Custom Action="test" Sequence='1200'>SilentInstall</Custom Action>
>       </InstallExecuteSequence>
> 
> and another way is (No Ppty)
> 
> <InstallExecuteSequence>
>          <Custom Action="test" Sequence='1200'>INSTALLUILEVEL_NONE</Custom
> Action>
>  </InstallExecuteSequence>
> 
> But its not working fine.
> 
> It would be great if any one gave solution
> 
> 
> 
> SaiTeja wrote:
>> Hi Stefan,
>>
>> Thanks for you resp. Following is my sample code. Plz let me know the way
>> is correct or not
>>
>>      <Property Id="SilentInstall">INSTALLUILEVEL_NONE</Property>
>>       
>> For custom action:
>>
>>       <InstallExecuteSequence>
>>          <Custom Action="test" Sequence='1200'>SilentInstall</Custom
>> Action>
>>       </InstallExecuteSequence>
>>
>>       <Binary Id='Customization.vbs' src='Customization.vbs'/>
>>       <CustomAction Id='test' BinaryKey='Customization.vbs'
>> VBScriptCall='Hello' Return='check'/>
>>       
>>
>>
>> Thanks
>> Hi,
>>
>>
>>
>>
>>
>> Stefan Pavlik-2 wrote:
>>> Hi,...
>>>
>>> You should create the condition for the CustomAction based on the
>>> UILevel property: http://msdn2.microsoft.com/en-us/library/aa372096.aspx
>>>
>>>
>>> UILevel:
>>>
>>> NSTALLUILEVEL_NONE  2 Completely silent installation.
>>> INSTALLUILEVEL_BASIC        3 Simple progress and error handling.
>>> INSTALLUILEVEL_REDUCED      4 Authored UI, wizard dialogs suppressed.
>>> INSTALLUILEVEL_FULL         5 Authored UI with wizards, progress, errors.
>>>
>>> Regards
>>>
>>> Stefan
>>>
>>> SaiTeja wrote:
>>>> Hi,
>>>>
>>>> I want to execute particular custom action [OR] I want to execute some
>>>> lines
>>>> of my wix code only in silent mode.
>>>>
>>>> Any answers?
>>>>
>>>>
>>>>
>>> -- 
>>> Stefan Pavlik | [EMAIL PROTECTED]
>>> Whitestein Technologies s.r.o. | www.whitestein.com
>>> Panenska 28 | 811 03 Bratislava | Slovak Republic
>>> Main +421 2 5443-5502 | Direct +421 2 5930-0735
>>>
>>> -------------------------------------------------------------------------
>>> SF.Net email is sponsored by: The Future of Linux Business White Paper
>>> from Novell.  From the desktop to the data center, Linux is going
>>> mainstream.  Let it simplify your IT future.
>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
>>> _______________________________________________
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to