Inno Setup未在Software / Microsoft / Windows / CurrentVersion / Uninstall中创建注册表项

时间:2014-12-11 15:54:08

标签: windows registry inno-setup

我有以下Inno安装脚本:

#define MyAppName "MyApp"
#define MyAppVersion "1.0"
#define MyAppPublisher "MyAppPublisher"
#define MyAppURL "http://www.myapppublisher.com"

[Setup]
AppId={{8D4D5A09-FD64-4C0F-94D9-19F22C827074}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf64}\MyCompany\MyApp
DefaultGroupName=MyCompany
AllowNoIcons=yes
OutputDir=C:\tmp
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

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

[Files]
Source: ...

[Run]
Filename: ...

它没有做任何特别的事情。 [Files]和[Run]部分非常标准。我的程序安装正常,我可以运行它。

问题是,当我转到 HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall 时,我看不到我的AppId条目。我已经检查过 HKEY_CURRENT_USER 以防万一,但它也不存在。我需要访问该密钥以检查是否已安装我的程序。我重新启动了我的电脑,但这没有用。

"控制面板中有一个条目 - 卸载程序"对于我的节目。

我正在跑步:

  • Windows 7
  • Inno 5.5.5

0 个答案:

没有答案