I have an InstallShield 2013 project that puts a shortcut into the Startup folder. When I run the installer, the shortcut is placed correctly and seems to have the correct path information. All seems well.
我有一个InstallShield 2013项目,它将快捷方式放入Startup文件夹。当我运行安装程序时,快捷方式正确放置,似乎有正确的路径信息。一切似乎都很好。
Then I look at the startup information provided by the windows task manager. The startup entry reads. Name: InstallShield Publisher: Flexera Software LLC
然后我查看windows任务管理器提供的启动信息。启动条目读取。名称:InstallShield Publisher:Flexera Software LLC
When using the right click "Open File Location", the path opened is not the path of the generated shortcut. Instead, it is C:\Windows\Installer{GUID}\NewShortcut2_{HexString}.exe
使用右键单击“打开文件位置”时,打开的路径不是生成的快捷方式的路径。相反,它是C:\ Windows \ Installer {GUID} \ NewShortcut2_ {HexString} .exe
Why is this happening, and how do I change it?
为什么会发生这种情况,我该如何改变呢?
Edit: The testing has been done on a windows 8.1 system.
编辑:测试已在Windows 8.1系统上完成。
1 个解决方案
#1
1
Per the requirements of the Icon table (see the Remarks section), InstallShield creates an exe format file that includes the icon for your shortcut. This is the file placed in the location you mention above. However it is not the target of the shortcut, so I do not understand why Windows is indicating this. I don't think InstallShield offers any ways to tweak how it builds the Icon table, unless it does things differently for advertised and non-advertised shortcuts.
根据Icon表的要求(请参阅“备注”部分),InstallShield创建一个包含快捷方式图标的exe格式文件。这是放在您上面提到的位置的文件。但它不是快捷方式的目标,所以我不明白为什么Windows会指出这一点。我不认为InstallShield提供任何方法来调整它如何构建Icon表,除非它对广告和非广告的快捷方式做了不同的事情。
(BTW, I suspect this behavior is specific to certain versions of Windows, so it may be worth editing that into your question.)
(顺便说一句,我怀疑这种行为是特定于某些版本的Windows,所以在你的问题中编辑它可能是值得的。)
#1
1
Per the requirements of the Icon table (see the Remarks section), InstallShield creates an exe format file that includes the icon for your shortcut. This is the file placed in the location you mention above. However it is not the target of the shortcut, so I do not understand why Windows is indicating this. I don't think InstallShield offers any ways to tweak how it builds the Icon table, unless it does things differently for advertised and non-advertised shortcuts.
根据Icon表的要求(请参阅“备注”部分),InstallShield创建一个包含快捷方式图标的exe格式文件。这是放在您上面提到的位置的文件。但它不是快捷方式的目标,所以我不明白为什么Windows会指出这一点。我不认为InstallShield提供任何方法来调整它如何构建Icon表,除非它对广告和非广告的快捷方式做了不同的事情。
(BTW, I suspect this behavior is specific to certain versions of Windows, so it may be worth editing that into your question.)
(顺便说一句,我怀疑这种行为是特定于某些版本的Windows,所以在你的问题中编辑它可能是值得的。)