when I uninstall a virtualized app with ThinApp does not eliminate the root folder, any suggestions to solve this?
Can you try to change the Shortcuts= parameter on all active Entry Points?
Change it from Shortcuts=%Programs%\Check Point\Identity Agent to Shortcuts=%Programs%\IdentityAgent
This way we can see if it is the second folder level doing it. Because when I use only one folder I do not get the issue you reported.
Out of curiosity:
This is a Check Point security software? What does it do? Does it work as a ThinApp package?
Do you mean the root folder as "C:\Program Files\Application Name"?
Are you also seeing the contents in the folder?
I mean the start menu folder, when I uninstall the app lets this folder, but empty.
That is weird.. It should be deleted.. Have you used thinreg.exe to register and the run thinreg.exe with the /u parameter to uninstall?
I used thinreg.exe and the run thinreg.exe with the /u for uninstall, but leaves the application folder in the Start menu.
That is strange.. I cannot reproduce that behavior. Can you share the package.ini file?
[Compression]
CompressionType=None
[Isolation]
DirectoryIsolationMode=Merged
[BuildOptions]
;-------- MSI Parameters ----------
;Enable MSIFilename if you want to generate a Windows Installer package.
MSIFilename=Checkpoint.msi
MSIManufacturer=Checkpoint
MSIProductVersion=2.522
MSIDefaultInstallAllUsers=1
MSIRequireElevatedPrivileges=1
MSIInstallDirectory=Checkpoint (VMware ThinApp)
MSIProductCode={73410052-F029-DFC8-F4F8-95AE229E6EE4}
MSIUpgradeCode={AC662FD4-DEA3-91F1-0591-292DD3586AE8}
MSIStreaming=0
MSICompressionType=Fast
MSIArpProductIcon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut7_755B3DE8C71A438B83D59DE0A4A4A398.exe
MSIIs64Bit=0
;-------- AppSync Parameters ----------
;AppSyncURL=https://example.com/some/path/PackageName.exe
;AppSyncUpdateFrequency=1d
;AppSyncExpirePeriod=30d
;AppSyncWarningPeriod=5d
;AppSyncWarningFrequency=1d
;AppSyncWarningMessage=This application will become unavailable for use in %remaining_days% day(s) if it cannot contact its update server. Check your network connection to ensure uninterrupted service.
;AppSyncExpireMessage=This application has been unable to contact its update server for %expire_days% day(s), so it is unavailable for use. Check your network connection and try again.
;AppSyncUpdatedMessage=
;AppSyncClearSandboxOnUpdate=0
;-------- Parameters used only during Setup Capture ----------
AccessDeniedMsg=You are not currently authorized to run this application. Please contact your administrator.
CapturedUsingVersion=5.0.0-1391583
CaptureProcessorArchitecture=9
CapturePlatformVersion=0601
CaptureOSArchitecture=64
OutDir=bin
;-------- General Purpose Parameters ----------
SandboxName=Checkpoint_NACClient_2.522_EN_ThinApp
InventoryName=Checkpoint_NACClient_2.522_EN_ThinApp
InventoryIcon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut7_755B3DE8C71A438B83D59DE0A4A4A398.exe
;PermittedGroups=Administrators;Remote Desktop Users
;RemoveSandboxOnExit=1
;RemoveSandboxOnStart=1
;SandboxNetworkDrives=1
;SandboxRemovableDisk=1
;VirtualizeExternalOutOfProcessCOM=0
ProcessExternalNameBehaviour=checkpoint.dat
;OptionalAppLinks=plugins\*.exe
;RequiredAppLinks=\\server\share\*.exe;c:\abs\path\file.exe
VirtualDrives=Drive=c, Serial=a8ac3e16, Type=FIXED
;VirtualDrives=Drive=a, Serial=00000098, Type=REMOVABLE; Drive=c, Serial=a8ac3e16, Type=FIXED; Drive=d, Serial=a8ac3e16, Type=CDROM
;VirtualComputerName=WIN-52NBJSJ0FRS
AnsiCodePage=1252
LocaleIdentifier=1033
LocaleName=en-US
; If you have problems running a 32 bit application under 64 bit Windows, try enabling this line before building the project
; Wow64=0
; If you have problems running a mixed 32/64 bit application under 64 bit Windows, try enabling this line before building the project
; AltArchitectureShortcut=1
; Enable this option to load .Net binaries from the system instead of the package on Windows 7 or above
;LoadDotNetFromSystem=Win7
QualityReportingEnabled=0
; Enable this option to ignore DDE messages from external processes
;IgnoreDDEMessages=1
[Checkpoint.dat]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe
;Change ReadOnlyData to bin\Package.ro.tvr to build with old versions(4.6.0 or earlier) of tools
ReadOnlyData=Package.ro.tvr
MetaDataContainerOnly=1
[Configuration.exe]
Shortcut=Checkpoint.dat
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe
;Change ReadOnlyData to bin\Package.ro.tvr to build with old versions(4.6.0 or earlier) of tools
CommandLine="%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe" -config
Icon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut7_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcuts=%Programs%\Check Point\Identity Agent
[Identity Agent.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe
Shortcut=Checkpoint.dat
Icon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut14_42CBA03D416D4E0E8724999E5402F1A0.exe
Shortcuts=%Programs%\Check Point\Identity Agent
[Uninstall Identity Agent.exe]
Disabled=1
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\SWrapper.exe
Shortcut=Checkpoint.dat
CommandLine="%ProgramFilesDir%\CheckPoint\Identity Agent\SWrapper.exe" -h /c "msiexec.exe /x {755B3DE8-C71A-438B-83D5-9DE0A4A4A398}"
Icon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut12_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcuts=%Programs%\Check Point\Identity Agent
[Distributed Configuration.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe
Shortcut=Checkpoint.dat
CommandLine="%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe" -adtool
Icon=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut11_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcuts=%Programs%\Check Point\Identity Agent
[ARPPRODUCTICON.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\ARPPRODUCTICON.exe
Shortcut=Checkpoint.dat
Disabled=1
[NewShortcut7_755B3DE8C71A438B83D59DE0A4A4A398.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut7_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcut=Checkpoint.dat
Disabled=1
[NewShortcut11_755B3DE8C71A438B83D59DE0A4A4A398.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut11_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcut=Checkpoint.dat
Disabled=1
[NewShortcut12_755B3DE8C71A438B83D59DE0A4A4A398.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut12_755B3DE8C71A438B83D59DE0A4A4A398.exe
Shortcut=Checkpoint.dat
Disabled=1
[NewShortcut13_EEF212C06F56428D933130E599BAA131.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut13_EEF212C06F56428D933130E599BAA131.exe
Shortcut=Checkpoint.dat
Disabled=1
[NewShortcut14_42CBA03D416D4E0E8724999E5402F1A0.exe]
Source=%SystemRoot%\Installer\{755B3DE8-C71A-438B-83D5-9DE0A4A4A398}\NewShortcut14_42CBA03D416D4E0E8724999E5402F1A0.exe
Shortcut=Checkpoint.dat
Disabled=1
[cli.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\cli.exe
Shortcut=Checkpoint.dat
Disabled=1
[PTInst.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\PTInst.exe
Shortcut=Checkpoint.dat
Disabled=1
[SWrapper.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\SWrapper.exe
Shortcut=Checkpoint.dat
Disabled=1
[cpmsi_tool.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\cpmsi_tool.exe
Shortcut=Checkpoint.dat
Disabled=1
[MADService.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\MADService.exe
Shortcut=Checkpoint.dat
;Services=MADService
Disabled=1
[ADControlTool.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\ADControlTool.exe
Shortcut=Checkpoint.dat
Disabled=1
[IdentityAgent.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgent.exe
Shortcut=Checkpoint.dat
Disabled=1
[PTInst_user64.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\PTInst_user64.exe
Shortcut=Checkpoint.dat
Disabled=1
[IdentityAgentReloader.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\IdentityAgentReloader.exe
Shortcut=Checkpoint.dat
Disabled=1
[reg.exe]
Source=%ProgramFilesDir%\CheckPoint\Identity Agent\reg.bat
Shortcut=Checkpoint.dat
Disabled=1
[cmd.exe]
Source=%SystemSystem%\cmd.exe
Shortcut=Checkpoint.dat
Disabled=1
[regedit.exe]
Source=%SystemRoot%\regedit.exe
Shortcut=Checkpoint.dat
Disabled=1
Can you try to change the Shortcuts= parameter on all active Entry Points?
Change it from Shortcuts=%Programs%\Check Point\Identity Agent to Shortcuts=%Programs%\IdentityAgent
This way we can see if it is the second folder level doing it. Because when I use only one folder I do not get the issue you reported.
Out of curiosity:
This is a Check Point security software? What does it do? Does it work as a ThinApp package?
The client need that folder is called by the name of checkpoint.I have done is remove the subfolder Identityagent.
I left as follows: Shortcuts=%Programs%\Checkpoint and now it works.
thank you very much
