我受到http://wixtoolset.org/documentation/manual/v3/howtos/files_and_registry/create_start_menu_shortcut.html的启发 仍然我无法使它工作......我得到错误3 ICE69:'... \模具Sentinel控制App.exe'引用无效文件
文件在那里,但...... 完整的xml在
之下感谢您的帮助
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut" Guid="...">
<Shortcut Id="ApplicationStartMenuShortcut"
Name="Mold Sentinel Control App"
Description="Mold Sentinel Controller"
Target="[#Mold Sentinel Control App.exe]"
WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
<RegistryValue Root="HKCU"
Key="Software\Microsoft\Mold Sentine Control App" Name="installed"
Type="integer" Value="1" KeyPath="yes"/>
</Component>
</DirectoryRef>