mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Removed LaunchApplication CustomAction duplication RIVM-6
This commit is contained in:
		
							parent
							
								
									cb872eb590
								
							
						
					
					
						commit
						da0e9900a7
					
				
					 1 changed files with 7 additions and 11 deletions
				
			
		| 
						 | 
				
			
			@ -297,12 +297,6 @@ cat > wix.xml << EOF
 | 
			
		|||
      Impersonate="yes" />
 | 
			
		||||
 | 
			
		||||
    <!-- Step 2: Add UI to your installer / Step 4: Trigger the custom action -->
 | 
			
		||||
    <CustomAction Id="LaunchApplication"
 | 
			
		||||
      FileKey="MeshUI"
 | 
			
		||||
      ExeCommand="[MeshInstallFolder]mesh-ui.exe ui\index.html"
 | 
			
		||||
      Execute="immediate"
 | 
			
		||||
      Impersonate="yes"
 | 
			
		||||
      Return="asyncNoWait" />
 | 
			
		||||
    <UI>
 | 
			
		||||
        <UIRef Id="WixUI_Minimal" />
 | 
			
		||||
        <Publish Dialog="ExitDialog"
 | 
			
		||||
| 
						 | 
				
			
			@ -310,17 +304,19 @@ cat > wix.xml << EOF
 | 
			
		|||
            Event="DoAction"
 | 
			
		||||
            Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
 | 
			
		||||
    </UI>
 | 
			
		||||
    <CustomAction Id="LaunchApplication"
 | 
			
		||||
        ExeCommand="[MeshInstallFolder]mesh-ui.exe ui\index.html"
 | 
			
		||||
        Execute="immediate"
 | 
			
		||||
        BinaryKey="WixCA"
 | 
			
		||||
        DllEntry="WixShellExec"
 | 
			
		||||
        Impersonate="yes"
 | 
			
		||||
        Return="asyncNoWait"/>
 | 
			
		||||
    <WixVariable Id="WixUILicenseRtf" Value="${PKGLICENSEFILE}" />
 | 
			
		||||
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch RiV-mesh" />
 | 
			
		||||
 | 
			
		||||
    <!-- Step 3: Include the custom action -->
 | 
			
		||||
    <Property Id="WixShellExecTarget" Value="[#MeshUI]" />
 | 
			
		||||
    <Property Id="ASSISTANCE_START_VIA_REGISTRY">1</Property>
 | 
			
		||||
    <CustomAction Id="LaunchApplication"
 | 
			
		||||
        BinaryKey="WixCA"
 | 
			
		||||
        DllEntry="WixShellExec"
 | 
			
		||||
        Impersonate="yes" />
 | 
			
		||||
 | 
			
		||||
    <InstallExecuteSequence>
 | 
			
		||||
      <Custom
 | 
			
		||||
        Action="UpdateGenerateConfig"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue