我希望我的安装将在64位操作系统中安装注册表条目。如果操作系统是32位,它将没有" Wow6432Node “,因为32位Wow6432Node不存在。
第二个问题会是:Flags: uninsdeletevalue uninsdeletekeyifempty删除已安装的注册表吗?
谢谢你的帮助。
; File created by Converter v.0.1.4 - 10 září 2013ă., 18 6r. 02 2in. 26 26ec.
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: DisplayName; ValueData: Harry Potter and the Deathly Hallows™ - Part 1; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: CD Drive; ValueData: E:\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: ProductName; ValueData: Harry Potter and the Deathly Hallows™ - Part 1; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Folder; ValueData: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Electronic Arts\Harry Potter and the Deathly Hallows(TM) - Part 1\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Install Dir; ValueData: C:\Program Files (x86)\Electronic Arts\Harry Potter and the Deathly Hallows(TM) - Part 1\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Installed From; ValueData: E:\; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Locale; ValueData: en_UK; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Language; ValueData: English (UK); Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Product GUID; ValueData: {{C9AAF970-4E7E-4C98-AD67-09C74379D345}; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Suppression Exe; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Registration; ValueData: Software\Electronic Arts\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\ergc; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: DisplayName; ValueData: Harry Potter and the Deathly Hallows Part 1; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: dword; ValueName: Language; ValueData: $00000013; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: LanguageName; ValueData: English (UK); Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; SubKey: SOFTWARE\Wow6432Node\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: ProgramGroup; ValueData: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Electronic Arts\; Flags: uninsdeletevalue uninsdeletekeyifempty
; time elapsed: 4 msec.发布于 2015-07-18 12:11:55
Wow6432Node第一个问题:如果您想在64/32位中安装注册表(您的应用程序),那么只需删除Wow6432Node part.Without,就可以自动在64位中创建doubt.The 部件。就这么简单吗?是!
第二个问题:,我不知道Flags: uninsdeletevalue uninsdeletekeyifempty会不会删除注册表,但是最好用Flags: uninsdeletekey来处理单个注册表。使用Flags: uninsdeletekeyifempty,您可以删除Electronic Arts部件,这些部件不会用Flags: uninsdeletekey删除,但可以通过这种方式删除。
请查看示例注册表脚本:
[Registry]
Root: HKLM; Subkey: SOFTWARE\Electronic Arts; Flags: dontcreatekey uninsdeletekeyifempty
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; Flags: uninsdeletekeyifempty dontcreatekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: DisplayName; ValueData: Harry Potter and the Deathly Hallows™ - Part 1; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: CD Drive; ValueData: E:\; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: ProductName; ValueData: Harry Potter and the Deathly Hallows™ - Part 1; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Folder; ValueData: {group}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Install Dir; ValueData: {app}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Installed From; ValueData: {src}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Locale; ValueData: en_UK; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Language; ValueData: English (UK); Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Product GUID; ValueData: {{C9AAF970-4E7E-4C98-AD67-09C74379D345}; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Suppression Exe; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1; ValueType: string; ValueName: Registration; ValueData: Software\Electronic Arts\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\ergc; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: DisplayName; ValueData: Harry Potter and the Deathly Hallows Part 1; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: dword; ValueName: Language; ValueData: $00000013; Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: LanguageName; ValueData: English (UK); Flags: uninsdeletekey
Root: HKLM; Subkey: SOFTWARE\Electronic Arts\Harry Potter and the Deathly Hallows Part 1\1.0; ValueType: string; ValueName: ProgramGroup; ValueData: {group}; Flags: uninsdeletekeyhttps://stackoverflow.com/questions/18724116
复制相似问题