最近、Windows 8.1にアップグレードしています。
Windows モバイル用の古いプロジェクトの 1 つで craete CAB インストールを試みた後、次のエラーが発生します。
Warning: Section [RegKeys] has no data
Warning: Section [DefaultInstall] key "AddReg" - there are no section entries to process
Error: CAB file "SomePath\Release\FCS Setup.CAB" could not be created
これがinfファイルです
[Version]
Signature="$Windows NT$"
Provider="Souren"
CESignature="$Windows CE$"
[CEStrings]
AppName="FCS"
InstallDir=%CE1%\%AppName%
[Strings]
Manufacturer="Souren"
[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1
[SourceDisksNames]
1=,"Common1",,"SomePath\Release\"
[SourceDisksFiles]
"FCS.exe"=1
[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
[Files.Common1]
"FCS.exe","FCS.exe",,0
[Shortcuts]
"FCS",0,"FCS.exe","%CE17%"
[RegKeys]
このエラーの後、[RegKeys]
パーツが空であることに気付いたので、cab にいくつかのレジスタを追加し、inf ファイルの最後の部分をこれに変更します。
[RegKeys]
"HKCR","FCS","FCSName","0x00000000","SomeName"
それでもタクシーは作成されません。そしてエラーはこれに変更するだけです:
Error: CAB file "SomePath\Release\FCS Setup.CAB" could not be created
Windows 8.1 と vs 2008 に何か問題がありますか? このプロジェクトは、以前のウィンドウで正常に動作します。