AppDNA Execution Profile

Save to PDF

AppDNA Execution Profile used to to Integrate Auto Packager

04/09/2018 Stuart Moore


Copy and paste the following text into a XML file, and then import into AppDNA.


<?xml version="1.0"?>
 <ArrayOfVMExecutionProfile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <VMExecutionProfile>
  <Name>Cloudhouse Compatibility Container</Name>
  <Commands>
   <Command>
    <Name>Run screen capture</Name>
    <Elements>
    <CommandElement>
    <ReplaceableType>UseValue</ReplaceableType>
    <Name>CanonicalisedCommand</Name>
    <Value>"%APPDNAVMCONFIG%\scrncap.exe" "$(Capture:OutputDirectory)"</Value>
    <ScriptContentsExpandReplaceables>false</ScriptContentsExpandReplaceables>
    <ScriptContentsEncodingCodePage>1200</ScriptContentsEncodingCodePage>
    <Quote>false</Quote>
    <PrefixSpace>false</PrefixSpace>
   </CommandElement>
  </Elements>
  <WaitType>NoWait</WaitType>
  <ShowWindowFlags>SW_SHOW</ShowWindowFlags>
  <ExpectedExitCode>0</ExpectedExitCode>
  <FailOnUnexpectedExitCode>false</FailOnUnexpectedExitCode>
  <CaptureOutput>false</CaptureOutput>
  <WorkingDirectory/>
  <ShowPage>false</ShowPage>
  <Description>Autogenerated command to write a script file</Description>
  <AllowWizardEdit>false</AllowWizardEdit>
  <Optional>false</Optional>
  <TerminateOnClose>true</TerminateOnClose>
 </Command>
<Command>
 <Name>Auto Packager</Name>
 <Elements>
 <CommandElement>
 <ReplaceableType>UseValue</ReplaceableType>
 <Name>CanonicalisedCommand</Name>
 <Value>powershell "c:\programdata\cloudhouse\packager\autopackagerCLI.ps1" -InstallerPath '$(InstallerPath)' -InitialLaunchExecutable '$(App:InstallCommand)' -Arguments "$(Arguments)" -AppName '$(AppName)' -AppGUID $(AppGUID) -PackageFolder '$(PackageFolder)\$(AppName)'</Value>
 <ScriptContentsExpandReplaceables>false</ScriptContentsExpandReplaceables>
 <ScriptContentsEncodingCodePage>1200</ScriptContentsEncodingCodePage>
 <Quote>false</Quote>
 <PrefixSpace>false</PrefixSpace>
 </CommandElement>
 </Elements>
<WaitType>WaitForProcess</WaitType>
<ShowWindowFlags>SW_SHOW</ShowWindowFlags>
<ExpectedExitCode>0</ExpectedExitCode>
<FailOnUnexpectedExitCode>true</FailOnUnexpectedExitCode>
<CaptureOutput>false</CaptureOutput>
<WorkingDirectory/>
<ShowPage>false</ShowPage>
<Description>Autogenerated command to write a script file</Description>
<AllowWizardEdit>false</AllowWizardEdit>
<Optional>false</Optional>
<TerminateOnClose>true</TerminateOnClose>
</Command>
</Commands>
<Manual>false</Manual>
<SetOutputFileToInputFile>false</SetOutputFileToInputFile>
<Version>2</Version>
<SerializedProfileReplaceables>
<SerializableProfileReplaceable>
<Key>Arguments</Key>
<Value>/silent</Value>
</SerializableProfileReplaceable>
<SerializableProfileReplaceable>
<Key>PackageFolder</Key>
<Value>\\woodhouse\common area\appdna</Value>
</SerializableProfileReplaceable>
<SerializableProfileReplaceable>
<Key>AppName</Key>
<Value/>
</SerializableProfileReplaceable>
<SerializableProfileReplaceable>
<Key>AppGUID</Key>
<Value/>
</SerializableProfileReplaceable>
<SerializableProfileReplaceable>
<Key>InitialLaunchExecutable</Key>
<Value/>
</SerializableProfileReplaceable>
<SerializableProfileReplaceable>
<Key>InstallerPath</Key>
<Value/>
</SerializableProfileReplaceable>
</SerializedProfileReplaceables>
</VMExecutionProfile>
</ArrayOfVMExecutionProfile>

Source:
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support