Xmind XMind 8 Update 7 (v3.7.7) APPV 5.x

Documentation for App-V-Sequenced application: XMind 8 Update 7 (v3.7.7)

Documentation created: 10.07.2018 13:05

 

 

Installation

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

 

Sequenced on Windows Version:10.0.16299.0 system with App-V Sequencer version: 10.0.16299.15

Sequenced created:10.07.2018 08:35:30

 

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

Appvnavn:Xmind

Version:0.0.0.2

PackageID=79d42388-78e3-44bb-81d9-5b31a101bb99

VersionID=c3d80918-7e44-4a5a-88f5-008a98ab3b10

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

XMind is a mind mapping and brainstorming software. The simple version is free.  It supports fishbone diagrams, tree diagrams, organization charts, spreadsheets for Mind Maps.

It’s not a completely straight forward Sequencing for this application so I will add the recipe for help.

-----------------------------------------------------

Prerequirements before Sequencing:

-----------------------------------------------------

A clean sequencer Image

-----------------------------------------------------

Sequence Install with the following parameters:

-----------------------------------------------------

Create xmind.inf

[Setup]

Lang=default

Dir=C:\Program Files (x86)\XMind

Group=XMind

NoIcons=0

Tasks=associate,associate\freemind,associate\mindmanager

This inf file will make the installation completely silent, no desktop shortcut and quick launch icon. All supported filetypes is associated with the program will be added.

Create install.xmind.cmd

start /wait xmind-8-update7-windows.exe /VERYSILENT /SUPRESSMSGBOXES /LOADINF=xmind.inf

:: copy Xmind configdata too %userprofile%\Application Data\

rmdir "%USERPROFILE%\Application Data\" /s /q

mkdir "%USERPROFILE%\Application Data\XMind\"

xcopy /e /v "Application Data" "%userprofile%\Application Data\" /Y

del "%programdata%\Microsoft\Windows\Start Menu\Programs\XMind\Support\Uninstall XMind.lnk" /s /q

del "%programfiles(x86)%\XMind\thirdparty\Bonjour*.msi" /s /q

pause

 

 

 

 

 

 

 

 

 

 

 

 

The script is deleting the uninstall icon and removing files from the “application data” folder & Apple Bonjour filesharing msi files (we don’t want them at our company)

 

Program configuration:

Start Xmind, go to preferences:

·         Go to General

·         Turn off Check for updates and news on startup

·         Turn off Send Usage data

·         Tun on Automatically save all open workbooks every 5 minute

·         Go to Network Connections if you want to add manual proxy.

Go to Share and check that Apple’s Bonjour is not there

·         Go to Xmind Pro

·         Turn on Hide Pluss/Pro features

 

Config files:

Your new config files can be found under:

·         C:\Users\Administrator\Application Data\XMind\workspace-cathy\.metadata\.plugins\org.eclipse.core.runtime\.settings

·         C:\Users\Administrator\Application Data\XMind\configuration-cathy_win32-R3.7.7.201801311814\.settings\org.eclipse.core.net.prefs (manual proxy settings)

·         C:\Users\Administrator\Application Data\XMind\configuration-cathy_win32-R3.7.7.201801311814\org.eclipse.osgi\880\0\.cp\*.*

·         C:\Users\Administrator\Application Data\XMind\workspace-cathy\.metadata\.plugins\org.xmind.cathy\start.properties (send no usage info)

 

Application data is not the same as the %appdata% in windows.
Here the developers have done something really wrong.

 

- Set merge with local on C:\Users\admin\Application Data\XMind\ and all subfolders or else program will fail to startup and configure it self

Then add the userscript from the section under.

This will only create a couple of folders under "%USERPROFILE%\Application Data\XMind\configuration-cathy_win32-R3.7.7.201801311814\” if it does not exist.

-----------------------------------------------------

Package information:

-----------------------------------------------------

- Package Scripts:

 

On process start:

    In User context: YES

 - Script:%windir%\system32\cmd.exe

 - Parameters: /c xmindcopy.cmd

 - Wait for App-V Client to Complete: YES

 - Do not use encoded executable paths: YES

 - Do not rollback if script fails

 - Do not run inside the virtual environment

 - Script timeout: 300 secounds

 

Added Scriptfiles too package script folder:
    xmindcopy.cmd          

@echo off

pushd

IF NOT EXIST "%USERPROFILE%\Application Data\XMind\configuration-cathy_win32-R3.7.7.201801311814\" md "%USERPROFILE%\Application Data\XMind\configuration-cathy_win32-R3.7.7.201801311814\"

 

popd exit

This is our xmindcopy.cmd script content.

 

_________________________________________________________________________________

Install cmd commandline (COMPLETE,ADD&PUBLISH&MOUNT):

                powershell.exe "Add-AppvClientPackage -Path 'Xmind.appv' | Publish-AppvClientPackage –Global | Mount-AppvClientPackage"

 

AddPackage commandline (ADD&MOUNT):

                powershell.exe "Add-AppvClientPackage -Path 'Xmind.appv' | Mount-AppvClientPackage"

 

PublishPackage commandline (PUBLISH&MOUNT):

                powershell.exe "Publish-AppvClientPackage -Name 'Xmind' –Global | Mount-AppvClientPackage"

 

Uninstall commandline (COMPLETE,UNPUBLISH&REMOVE):

                powershell.exe "Unpublish-AppvClientPackage -Name 'Xmind' -Global | Remove-AppVClientPackage"

 

UnpublishPackage commandline (UNPUBLISH):

                powershell.exe "Unpublish-AppvClientPackage -Name 'Xmind' -Global"

Building a clean windows 10 1709 x64 Sequencer

Building a clean windows 10 x64 sequencer

Been using guides from Rorymon and Tmurgent blogs.

While they are a great starting point, they do not cover all the latest and «greatest» bloat MS provide for you.

Here is the old template list from our Current Vmware Worstation Sequencer Image. It was made with the following properties:

Install Window 10
Username: admin

Install VC++
Newest to oldest
2017-2005

Add .NET 3.5: Copy sxs folder too c:\temp. Run DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:C:\temp\sxs

Disable Windows Defender:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
DisableAntiSpyware"=dword:00000001
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
DisableRealtimeMonitoring"=dword:00000001

 

Disable Windows 10 feature Upgrade:

HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\WindowsUpdate]
"AllowOSUpgrade "=dword:00000000
HKEY_LOCAL_MACHINE\SOFTWARE \Policies\Microsoft\Windows\WindowsUpdate]
"DisableOSUpgrade "=dword:00000001

- Disable Windows Search service
- Disable Offline Files service
- Disable Diagnostic Policy Service 
- Disable Windows Update service (This is getting trickier now )
   Double click Windows Update service to open properties
   Click Stop to halt the service.
   Click the Log On tab
   Select Log on as: This account: .\Guest
   Leave password blank

   Click Apply


Install ADK - Sequencer + Auto-Sequencer
Install PS module PassiveInstall
Install AppV Manage
Install ACE
Procmon and procexp

Uninstall OneDrive
Uninstall all removable apps

CPU: 1 Processor 2 cores
Memory: 8GB 
Network adapter: bridged
Disk: 120GB

Proxy enabled
Show hidden files
Show file extensions

Screen off: never
Hibernation: never

 

 

 

We also had to disable:

“Background transfer service”(BITS) and “Delivery Optimization service

This is the registry of a completely empty package with Bits and enabled:

 

As we can see, there is a lot of unwanted registry values getting captures, so after disabling BITS we get this picture:

 

After Disabling Delivery Optimization service we get this picture. Looking much better J

 

It’s looking better now, but there was still too much stuff in here, so I also made a Sequencer template that has to be loaded every time you start sequencing, its removing stuff like Cloud store and Cortona stuff.

<?xml version="1.0" encoding="utf-8"?>

<SequencerTemplate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <SequencerTemplateVersion>2</SequencerTemplateVersion>

  <ID>ea4fd954-e515-46a5-93c7-9f1fd3775501</ID>

  <HashOverall>236761879</HashOverall>

  <HashSettings>2</HashSettings>

  <HashFileExclusions>-1112920618</HashFileExclusions>

  <HashRegExclusions>610179163</HashRegExclusions>

  <hashTargetOSes>371857150</hashTargetOSes>

  <AllowMU>false</AllowMU>

  <AppendPackageVersionToFilename>true</AppendPackageVersionToFilename>

  <AllowLocalInteractionToCom>false</AllowLocalInteractionToCom>

  <AllowLocalInteractionToObject>false</AllowLocalInteractionToObject>

  <FullVFSWriteMode>false</FullVFSWriteMode>

  <ExcludePreExistingSxSAndVC>false</ExcludePreExistingSxSAndVC>

  <FileExclusions>

    <string>[{AppData}]\Microsoft\AppV</string>

    <string>[{AppVPackageDrive}]\$Recycle.Bin</string>

    <string>[{AppVPackageDrive}]\System Volume Information</string>

    <string>[{Cache}]</string>

    <string>[{Common AppData}]\Microsoft\Crypto</string>

    <string>[{Common AppData}]\Microsoft\Microsoft Antimalware</string>

    <string>[{Common AppData}]\Microsoft\Microsoft Security Client</string>

    <string>[{Common AppData}]\Microsoft\Search\Data</string>

    <string>[{Common AppData}]\Microsoft\Windows Defender</string>

    <string>[{Cookies}]</string>

    <string>[{CryptoKeys}]</string>

    <string>[{History}]</string>

    <string>[{Local AppData}]</string>

    <string>[{Local AppData}]\Temp</string>

    <string>[{LocalAppDataLow}]</string>

    <string>[{Personal}]</string>

    <string>[{Profile}]\Local Settings</string>

    <string>[{Profile}]\NTUSER.DAT.LOG1</string>

    <string>[{Profile}]\NTUSER.DAT.LOG2</string>

    <string>[{ProgramFilesX86}]\Windows Kits\10\Microsoft Application Virtualization\Sequencer</string>

    <string>[{ProgramFiles}]\Microsoft Security Client</string>

    <string>[{ProgramFiles}]\Windows Defender</string>

    <string>[{Recent}]</string>

    <string>[{Windows}]\Debug</string>

    <string>[{Windows}]\Logs\CBS</string>

    <string>[{Windows}]\Temp</string>

    <string>[{Windows}]\WindowsUpdate.log</string>

    <string>[{Windows}]\WinSxS\ManifestCache</string>

    <string>{AppData}]\Microsoft\AppV</string>

    <string>{AppVPackageDrive}]\$Recycle.Bin</string>

    <string>{AppVPackageDrive}]\System Volume Information</string>

    <string>{AppVSystem32Logfiles}]</string>

    <string>{Cache}]</string>

    <string>{Common AppData}]\Microsoft\Crypto</string>

    <string>{Common AppData}]\Microsoft\RAC</string>

    <string>{Common AppData}]\Microsoft\Search\Data</string>

    <string>{Cookies}]</string>

    <string>{History}]</string>

    <string>{Local AppData}]</string>

    <string>{Local AppData}]\Temp</string>

    <string>{LocalAppDataLow}]</string>

    <string>{LocalAppDataLow}]\Microsoft\CryptnetUrlCache</string>

    <string>{Personal}]</string>

    <string>{Profile}]\Local Settings</string>

    <string>{Profile}]\NTUSER.DAT</string>

    <string>{Profile}]\NTUSER.DAT.LOG</string>

    <string>{Profile}]\NTUSER.DAT.LOG1</string>

    <string>{Profile}]\NTUSER.DAT.LOG2</string>

    <string>{ProgramFilesX64}]\Microsoft Application Virtualization\Sequencer</string>

    <string>{Recent}]</string>

    <string>{SystemX86}]\config</string>

    <string>{SystemX86}]\SMI</string>

    <string>{System}]\config</string>

    <string>{System}]\SMI</string>

    <string>{System}]\wbem</string>

    <string>{Windows}]\Debug</string>

    <string>{Windows}]\Logs\CBS</string>

    <string>{Windows}]\security</string>

    <string>{Windows}]\ServiceProfiles\LocalService</string>

    <string>{Windows}]\ServiceProfiles\NetworkService</string>

    <string>{Windows}]\Temp</string>

    <string>{Windows}]\WindowsUpdate.log</string>

    <string>{Windows}]\WinSxS\ManifestCache</string>

  </FileExclusions>

  <RegExclusions>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Active Setup</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\AppV</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Cryptography</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Microsoft Antimalware Setup</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Microsoft Security Client</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Reliability Analysis\RAC</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\SQMClient</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Wbem</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Notifications</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrenVersion\SPP</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrenVersion\SystemRestore</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Policies\Microsoft\Microsoft Antimalware</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Active Setup</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\AppV</string>

    <string>REGISTRY\MACHINE\SOFTWARE\Wow6432Node\Microsoft\Cryptography</string>

    <string>REGISTRY\MACHINE\SYSTEM\CurrentControlSet\services\VSS</string>

    <string>REGISTRY\USER\S-1-5-19\Software\Microsoft\SQMClient</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Classes\Local Settings\ImmutableMuiCache</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\AppV</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\CloudStore</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\1\ApplicationViewManagement</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Internet Settings</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Search</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Microsoft\Windows\CurrentVersion\Security and Maintenance</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\AppV</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\StreamMRU</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Streams</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]_CLASSES\Local Settings\MuiCache</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]_CLASSES\Local Settings\Software\Microsoft\Windows\Shell\BagMRU</string>

    <string>REGISTRY\USER\[{AppVCurrentUserSID}]_CLASSES\Local Settings\Software\Microsoft\Windows\Shell\Bags</string>

  </RegExclusions>

  <TargetOSes />

</SequencerTemplate>

 

Our final template is now currently like this:

Install Window 10
Username: admin

Install VC++
Newest to oldest
2017-2005

Add .NET 3.5: Copy sxs folder too c:\temp. Run DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:C:\temp\sxs

Disable Windows Defender:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
DisableAntiSpyware"=dword:00000001
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
DisableRealtimeMonitoring"=dword:00000001

 

Disable Windows 10 feature Upgrade:

HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\WindowsUpdate]
"AllowOSUpgrade "=dword:00000000
HKEY_LOCAL_MACHINE\SOFTWARE \Policies\Microsoft\Windows\WindowsUpdate]
"DisableOSUpgrade "=dword:00000001

- Disable Connected User Experiences and Telemetry (DiagTrack) service

- Disable Windows Search service
- Disable
Background transfer service

- Disable Offline Files service
- Disable
Delivery Optimization service

- Disable Diagnostic Policy Service 
- Disable Windows Update service (This is getting trickier now )
   Double click Windows Update service to open properties
   Click Stop to halt the service.
   Click the Log On tab
   Select Log on as: This account: .\Guest
   Leave password blank

   Click Apply

Turned of all notifications:

https://www.digitaltrends.com/computing/how-to-turn-off-notifications-in-windows-10/


Install ADK - Sequencer + Auto-Sequencer
Install PS module PassiveInstall
Install AppV Manage
Install ACE
Procmon and procexp

Uninstall OneDrive
Uninstall all removable apps

CPU: 1 Processor 2 cores
Memory: 8GB 
Network adapter: bridged
Disk: 120GB

Proxy enabled
Show hidden files
Show file extensions

Screen off: never
Hibernation: never

 

 

Hope this will be of help to someone other than us, we used much more time doing this stuff than I would have done if MS had preloaded and updated the template and documentation after Windows 7/8