none
Shell Launcher custom actions RRS feed

  • Question

  • Hi, I have this code in my unattend.xml file:

    <User wcm:action="add">
                        <Key>1</Key>
                        <DefaultReturnCodeAction>0</DefaultReturnCodeAction>
                        <AccountName>Default</AccountName>
                        <Shell>&quot;c:\program files (x86)\reality entertainment video\revshell\revshell.exe&quot;</Shell>
                        <CustomReturnCodeAction>
                            <CodeAction wcm:action="add">
                                <Action>2</Action>
                                <ReturnCode>2</ReturnCode>
                            </CodeAction>
                        </CustomReturnCodeAction>
                    </User>

    So Windows should shut down if my programs return 2.  It works fine when I set it manually in Embedded Lockdown manager, but when I install with this unattend.xml, return codes are not set.

    What am I doing wrong?

    Thanks,

    Eric Jalbert

    Sunday, November 3, 2013 10:21 PM

All replies