Inno设置:程序文件夹未显示在开始>所有课程

时间:2015-11-15 15:30:19

标签: inno-setup startmenu

我一直在更新我的Inno安装程序,而且我遇到了 程序文件夹 未出现在Windows 7中的情况 开始>所有计划

奇怪的部分是程序文件夹确实存在于:
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

我尝试的事情:

  1. 系统重启(无效)
  2. 刷新开始菜单(不起作用)
  3. taskkill /f /im explorer.exe  
    del %LOCALAPPDATA%\IconCache.db /a  
    start explorer  
    

0 个答案:

没有答案