Name: {app}\MergePlugins\list.txt; Type: files; Check: not IsComponentSelected('Plugins')
;Removes the user's guide icon if the user deselects the user's guide component.
-Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs')
-Name: {group}\{cm:ReadMe}.lnk; Type: files
+Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs') and not WizardNoIcons
+Name: {group}\{cm:ReadMe}.lnk; Type: files; Check: not WizardNoIcons
;This removes the quick launch icon in case the user chooses not to install it after previously having it installed
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\WinMerge.lnk; Type: files; Check: not IsTaskSelected('QuickLauchIcon')
Name: {autodesktop}\WinMerge.lnk; Type: files; Check: not IsTaskSelected('DesktopIcon')
;Removes the Uninstall icon from the start menu...
-Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files;
-Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files;
+Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files; Check: not WizardNoIcons
+Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files; Check: not WizardNoIcons
;Remove ANSI executable link from start menu for NT-based Windows versions
;This was installed earlier, but not anymore.
-Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4
+Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4; Check: not WizardNoIcons
Name: {app}\Docs; Type: filesandordirs
[Icons]
;Start Menu Icons
-Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"
-Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm
+Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"; Check: not WizardNoIcons
+Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm; Check: not WizardNoIcons
;Desktop Icon
Name: {autodesktop}\WinMerge; Filename: {app}\WinMergeU.exe; Tasks: desktopicon
Name: {app}\Formats; Type: filesandordirs
Name: {app}\Lang; Type: filesandordirs
-Name: {group}; Type: dirifempty
+Name: {group}; Type: dirifempty; Check: not WizardNoIcons
Name: {app}; Type: dirifempty
strGroup_Path: string;
Begin
{Saves the path that Inno Setup intended to create the start menu group at}
- strGroup_Path := ExpandConstant('{group}');
+ if not WizardNoIcons Then strGroup_Path := ExpandConstant('{group}');
{If the start menu path isn't blank then..}
if strGroup_Path <> '' Then
strOld := OldGroup();
{Detects the current start menu group's path, if any (not creating a group is a valid option)}
- strNew := ExpandConstant('{group}');
+ If not WizardNoIcons Then strNew := ExpandConstant('{group}');
{removes the start menu portion of the path from the group path making it match the format of strOld}
StringChange(strNew, ExpandConstant('{commonprograms}\'), '')
Name: {app}\MergePlugins\list.txt; Type: files; Check: not IsComponentSelected('Plugins')\r
\r
;Removes the user's guide icon if the user deselects the user's guide component.\r
-Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs')\r
-Name: {group}\{cm:ReadMe}.lnk; Type: files\r
+Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs') and not WizardNoIcons\r
+Name: {group}\{cm:ReadMe}.lnk; Type: files; Check: not WizardNoIcons\r
\r
;This removes the quick launch icon in case the user chooses not to install it after previously having it installed\r
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\WinMerge.lnk; Type: files; Check: not IsTaskSelected('QuickLauchIcon')\r
Name: {autodesktop}\WinMerge.lnk; Type: files; Check: not IsTaskSelected('DesktopIcon')\r
\r
;Removes the Uninstall icon from the start menu...\r
-Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files;\r
-Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files;\r
+Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files; Check: not WizardNoIcons\r
+Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files; Check: not WizardNoIcons\r
\r
;Remove ANSI executable link from start menu for NT-based Windows versions\r
;This was installed earlier, but not anymore.\r
-Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4\r
+Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4; Check: not WizardNoIcons\r
\r
Name: {app}\Docs; Type: filesandordirs\r
\r
\r
[Icons]\r
;Start Menu Icons\r
-Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"\r
-Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm\r
+Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"; Check: not WizardNoIcons\r
+Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm; Check: not WizardNoIcons\r
\r
;Desktop Icon\r
Name: {autodesktop}\WinMerge; Filename: {app}\WinMergeU.exe; Tasks: desktopicon\r
Name: {app}\Formats; Type: filesandordirs\r
Name: {app}\Lang; Type: filesandordirs\r
\r
-Name: {group}; Type: dirifempty\r
+Name: {group}; Type: dirifempty; Check: not WizardNoIcons\r
Name: {app}; Type: dirifempty\r
\r
\r
strGroup_Path: string;\r
Begin\r
{Saves the path that Inno Setup intended to create the start menu group at}\r
- strGroup_Path := ExpandConstant('{group}');\r
+ if not WizardNoIcons Then strGroup_Path := ExpandConstant('{group}');\r
\r
{If the start menu path isn't blank then..}\r
if strGroup_Path <> '' Then\r
strOld := OldGroup();\r
\r
{Detects the current start menu group's path, if any (not creating a group is a valid option)}\r
- strNew := ExpandConstant('{group}');\r
+ If not WizardNoIcons Then strNew := ExpandConstant('{group}');\r
\r
{removes the start menu portion of the path from the group path making it match the format of strOld}\r
StringChange(strNew, ExpandConstant('{commonprograms}\'), '')\r
Name: {app}\MergePlugins\list.txt; Type: files; Check: not IsComponentSelected('Plugins')\r
\r
;Removes the user's guide icon if the user deselects the user's guide component.\r
-Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs')\r
-Name: {group}\{cm:ReadMe}.lnk; Type: files\r
+Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs') and not WizardNoIcons\r
+Name: {group}\{cm:ReadMe}.lnk; Type: files; Check: not WizardNoIcons\r
\r
;This removes the desktop icon in case the user chooses not to install it after previously having it installed\r
Name: {commondesktop}\WinMerge.lnk; Type: files; Check: not IsTaskSelected('DesktopIcon')\r
\r
;Removes the Uninstall icon from the start menu...\r
-Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files;\r
-Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files;\r
+Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files; Check: not WizardNoIcons\r
+Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files; Check: not WizardNoIcons\r
\r
;Remove ANSI executable link from start menu for NT-based Windows versions\r
;This was installed earlier, but not anymore.\r
-Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4\r
+Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4; Check: not WizardNoIcons\r
\r
Name: {app}\Docs; Type: filesandordirs\r
\r
\r
[Icons]\r
;Start Menu Icons\r
-Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"\r
-Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm\r
+Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"; Check: not WizardNoIcons\r
+Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm; Check: not WizardNoIcons\r
\r
;Desktop Icon\r
Name: {commondesktop}\WinMerge; Filename: {app}\WinMergeU.exe; Tasks: desktopicon\r
Name: {app}\Formats; Type: filesandordirs\r
Name: {app}\Lang; Type: filesandordirs\r
\r
-Name: {group}; Type: dirifempty\r
+Name: {group}; Type: dirifempty; Check: not WizardNoIcons\r
Name: {app}; Type: dirifempty\r
\r
\r
strGroup_Path: string;\r
Begin\r
{Saves the path that Inno Setup intended to create the start menu group at}\r
- strGroup_Path := ExpandConstant('{group}');\r
+ if not WizardNoIcons Then strGroup_Path := ExpandConstant('{group}');\r
\r
{If the start menu path isn't blank then..}\r
if strGroup_Path <> '' Then\r
strOld := OldGroup();\r
\r
{Detects the current start menu group's path, if any (not creating a group is a valid option)}\r
- strNew := ExpandConstant('{group}');\r
+ If not WizardNoIcons Then strNew := ExpandConstant('{group}');\r
\r
{removes the start menu portion of the path from the group path making it match the format of strOld}\r
StringChange(strNew, ExpandConstant('{commonprograms}\'), '')\r
Name: {app}\MergePlugins\list.txt; Type: files; Check: not IsComponentSelected('Plugins')
;Removes the user's guide icon if the user deselects the user's guide component.
-Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs')
-Name: {group}\{cm:ReadMe}.lnk; Type: files
+Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs') and not WizardNoIcons
+Name: {group}\{cm:ReadMe}.lnk; Type: files; Check: not WizardNoIcons
;This removes the desktop icon in case the user chooses not to install it after previously having it installed
Name: {userdesktop}\WinMerge.lnk; Type: files; Check: not IsTaskSelected('DesktopIcon')
;Removes the Uninstall icon from the start menu...
-Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files;
-Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files;
+Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files; Check: not WizardNoIcons
+Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files; Check: not WizardNoIcons
;Remove ANSI executable link from start menu for NT-based Windows versions
;This was installed earlier, but not anymore.
-Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4
+Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4; Check: not WizardNoIcons
Name: {app}\Docs; Type: filesandordirs
[Icons]
;Start Menu Icons
-Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"
-Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm
+Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"; Check: not WizardNoIcons
+Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm; Check: not WizardNoIcons
;Desktop Icon
Name: {userdesktop}\WinMerge; Filename: {app}\WinMergeU.exe; Tasks: desktopicon
Name: {app}\Formats; Type: filesandordirs
Name: {app}\Lang; Type: filesandordirs
-Name: {group}; Type: dirifempty
+Name: {group}; Type: dirifempty; Check: not WizardNoIcons
Name: {app}; Type: dirifempty
strGroup_Path: string;
Begin
{Saves the path that Inno Setup intended to create the start menu group at}
- strGroup_Path := ExpandConstant('{group}');
+ if not WizardNoIcons Then strGroup_Path := ExpandConstant('{group}');
{If the start menu path isn't blank then..}
if strGroup_Path <> '' Then
strOld := OldGroup();
{Detects the current start menu group's path, if any (not creating a group is a valid option)}
- strNew := ExpandConstant('{group}');
+ If not WizardNoIcons Then strNew := ExpandConstant('{group}');
{removes the start menu portion of the path from the group path making it match the format of strOld}
StringChange(strNew, ExpandConstant('{commonprograms}\'), '')
Name: {app}\MergePlugins\list.txt; Type: files; Check: not IsComponentSelected('Plugins')\r
\r
;Removes the user's guide icon if the user deselects the user's guide component.\r
-Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs')\r
-Name: {group}\{cm:ReadMe}.lnk; Type: files\r
+Name: {group}\{cm:UsersGuide}.lnk; Type: files; Check: not IsComponentSelected('Docs') and not WizardNoIcons\r
+Name: {group}\{cm:ReadMe}.lnk; Type: files; Check: not WizardNoIcons\r
\r
;This removes the desktop icon in case the user chooses not to install it after previously having it installed\r
Name: {commondesktop}\WinMerge.lnk; Type: files; Check: not IsTaskSelected('DesktopIcon')\r
\r
;Removes the Uninstall icon from the start menu...\r
-Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files;\r
-Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files;\r
+Name: {group}\{cm:UninstallProgram,WinMerge}.lnk; Type: files; Check: not WizardNoIcons\r
+Name: {group}\{cm:UninstallProgram,WinMerge}; Type: files; Check: not WizardNoIcons\r
\r
;Remove ANSI executable link from start menu for NT-based Windows versions\r
;This was installed earlier, but not anymore.\r
-Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4\r
+Name: {group}\WinMerge (ANSI).lnk; Type: files; MinVersion: 0,4; Check: not WizardNoIcons\r
\r
Name: {app}\Docs; Type: filesandordirs\r
\r
\r
[Icons]\r
;Start Menu Icons\r
-Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"\r
-Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm\r
+Name: {group}\WinMerge; Filename: {app}\WinMergeU.exe; AppUserModelID: "Thingamahoochie.WinMerge"; Check: not WizardNoIcons\r
+Name: {group}\{cm:UsersGuide}; Filename: {app}\Docs\WinMerge.chm; Check: not WizardNoIcons\r
\r
;Desktop Icon\r
Name: {commondesktop}\WinMerge; Filename: {app}\WinMergeU.exe; Tasks: desktopicon\r
Name: {app}\Formats; Type: filesandordirs\r
Name: {app}\Lang; Type: filesandordirs\r
\r
-Name: {group}; Type: dirifempty\r
+Name: {group}; Type: dirifempty; Check: not WizardNoIcons\r
Name: {app}; Type: dirifempty\r
\r
\r
strGroup_Path: string;\r
Begin\r
{Saves the path that Inno Setup intended to create the start menu group at}\r
- strGroup_Path := ExpandConstant('{group}');\r
+ if not WizardNoIcons Then strGroup_Path := ExpandConstant('{group}');\r
\r
{If the start menu path isn't blank then..}\r
if strGroup_Path <> '' Then\r
strOld := OldGroup();\r
\r
{Detects the current start menu group's path, if any (not creating a group is a valid option)}\r
- strNew := ExpandConstant('{group}');\r
+ If not WizardNoIcons Then strNew := ExpandConstant('{group}');\r
\r
{removes the start menu portion of the path from the group path making it match the format of strOld}\r
StringChange(strNew, ExpandConstant('{commonprograms}\'), '')\r