mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	fixed UI ext
This commit is contained in:
		
							parent
							
								
									213346625f
								
							
						
					
					
						commit
						4e8a9906ec
					
				
					 1 changed files with 16 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -241,8 +241,22 @@ cat > wix.xml << EOF
 | 
			
		|||
      Return="check"
 | 
			
		||||
      Impersonate="yes" />
 | 
			
		||||
 | 
			
		||||
    <!-- Step 2: Add UI to your installer / Step 4: Trigger the custom action -->
 | 
			
		||||
    <UI>
 | 
			
		||||
        <UIRef Id="WixUI" />
 | 
			
		||||
        <Publish Dialog="ExitDialog"
 | 
			
		||||
            Control="Finish"
 | 
			
		||||
            Event="DoAction"
 | 
			
		||||
            Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
 | 
			
		||||
    </UI>
 | 
			
		||||
    <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch RiV-mesh" />
 | 
			
		||||
 | 
			
		||||
    <!-- Step 3: Include the custom action -->
 | 
			
		||||
    <Property Id="WixShellExecTarget" Value="[#MeshUI]" />
 | 
			
		||||
    <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
 | 
			
		||||
    <CustomAction Id="LaunchApplication" 
 | 
			
		||||
        BinaryKey="WixCA"
 | 
			
		||||
        DllEntry="WixShellExec"
 | 
			
		||||
        Impersonate="yes" />
 | 
			
		||||
 | 
			
		||||
    <InstallExecuteSequence>
 | 
			
		||||
      <Custom
 | 
			
		||||
| 
						 | 
				
			
			@ -260,4 +274,4 @@ EOF
 | 
			
		|||
CANDLEFLAGS="-nologo"
 | 
			
		||||
LIGHTFLAGS="-nologo -spdb -sice:ICE71 -sice:ICE61"
 | 
			
		||||
wixbin/candle $CANDLEFLAGS -out ${PKGNAME}-${PKGVERSION}-${PKGARCH}.wixobj -arch ${PKGARCH} wix.xml && \
 | 
			
		||||
wixbin/light $LIGHTFLAGS -ext WixUtilExtension.dll -out ${PKGNAME}-${PKGVERSION}-${PKGARCH}.msi ${PKGNAME}-${PKGVERSION}-${PKGARCH}.wixobj
 | 
			
		||||
wixbin/light $LIGHTFLAGS -ext WixUIExtension -ext WixUtilExtension -out ${PKGNAME}-${PKGVERSION}-${PKGARCH}.msi ${PKGNAME}-${PKGVERSION}-${PKGARCH}.wixobj
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue