Inno setup Inno设置:程序文件夹未显示在“开始”中>;所有程序

Inno setup Inno设置:程序文件夹未显示在“开始”中>;所有程序,inno-setup,startmenu,Inno Setup,Startmenu,我一直在更新我的Inno安装程序,我遇到了这样一种情况:Windows 7开始>所有程序中都没有显示程序文件夹 wierd部分是程序文件夹中不存在的部分: C:\ProgramData\Microsoft\Windows\Start Menu\Programs 另一件奇怪的事是如果我做了以下事情: [单击]开始 [右键单击]所有程序 [单击]属性 [单击]确定 返回开始>程序文件夹显示的所有程序 你能想到什么会导致这种行为吗 Inno设置脚本 ; Script generated by the

我一直在更新我的Inno安装程序,我遇到了这样一种情况:Windows 7开始>所有程序中都没有显示程序文件夹

wierd部分是程序文件夹中不存在的部分:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs

另一件奇怪的事是如果我做了以下事情:

[单击]开始
[右键单击]所有程序
[单击]属性
[单击]确定

返回开始>程序文件夹显示的所有程序

你能想到什么会导致这种行为吗

Inno设置脚本


; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Zilch Standard Trial"
#define MyAppVersion "4.0"
#define MyAppPublisher "ZilchWorks"
#define MyAppURL "http://www.zilchworks.com/"
#define MyAppExeName "zilchs40.exe"

[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{D7C0A799-DDAF-49B4-951A-D3CD01D6AF6E}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
AppVerName={#MyAppName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
OutputDir=E:\New Software Install Packages\Zilch Standard 4.0\Eval
OutputBaseFilename=zilchstd40-setup
Compression=lzma
SolidCompression=yes
PrivilegesRequired=none
CreateUninstallRegKey=yes
SignTool=kSign /d $q{#MyAppName}$q /du $q{#MyAppURL}$q $f
LicenseFile=E:\New Software Install Packages\Zilch Standard 4.0\license.txt
UninstallDisplayIcon={app}\{#MyAppExeName}

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"

[Files]
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "E:\New Software Install Packages\Zilch Standard 4.0\Eval\zilchs40.exe"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\history.txt"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\license.txt"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\readme.txt"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\sample1.zwf"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\sample2.zwf"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\sample3.zwf"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\zilchrps.dll"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\zilchstd.hlp"; DestDir: {app}; 
Source: "E:\New Software Install Packages\Zilch Standard 4.0\zilchstd.prf"; DestDir: {app}; 

[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\zilchs40.exe"; IconIndex: 0; 
Name: "{group}\{cm:UninstallProgram, {#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; IconFilename: "{app}\zilchs40.exe"; IconIndex: 0; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
我尝试过的事情:

  • 系统重新启动(未工作)
  • 刷新开始菜单(不工作)

  • 你认为我们怎么能在看不到InnoSetup脚本的情况下说些什么?你在另一台机器上试过吗?系统重启有帮助吗?我还没有试过另一台机器。系统重新启动没有帮助。如果使用
    示例1.iss
    (从Inno Setup installation开始)构建安装程序,“我的程序”是否显示在开始菜单中?
    taskkill /f /im explorer.exe  
    del %LOCALAPPDATA%\IconCache.db /a  
    start explorer