winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

PortableFlow.h (1248B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include "ExecutionContext.h"
      5 
      6 namespace AppInstaller::CLI::Workflow
      7 {
      8     // Installs the portable package.
      9     // Required Args: None
     10     // Inputs: Manifest, Scope, Rename, Location
     11     // Outputs: None
     12     void PortableInstallImpl(Execution::Context& context);
     13 
     14     // Uninstalls the portable package.
     15     // Required Args: None
     16     // Inputs: ProductCode, Scope, Architecture
     17     // Outputs: None
     18     void PortableUninstallImpl(Execution::Context& context);
     19 
     20     // Verifies that the portable install operation is supported.
     21     // Required Args: None
     22     // Inputs: Scope, Rename
     23     // Outputs: None
     24     void EnsureSupportForPortableInstall(Execution::Context& context);
     25 
     26     // Initializes the portable installer.
     27     // Required Args: None
     28     // Inputs: Scope, Architecture, Manifest, Installer
     29     // Outputs: None
     30     void InitializePortableInstaller(Execution::Context& context);
     31 
     32     // Verifies that the package identifier and the source identifier match the ARP entry.
     33     // Required Args: None
     34     // Inputs: Manifest, PackageVersion, PortableInstaller
     35     // Outputs: None
     36     void VerifyPackageAndSourceMatch(Execution::Context& context);
     37 }