InstallShield快捷链接将转到错误的目录 [英] InstallShield shortcut links going to wrong directory

查看:85
本文介绍了InstallShield快捷链接将转到错误的目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Visual Studios 2010中创建了一个项目,并将其与InstallShield打包时,单击新建"->选择主输出文件,对其进行重命名,然后也单击桌面"选项.它可以正确创建开始菜单和桌面的快捷方式,但是它们没有指向正确的位置.如果我直接转到Program Files x86文件夹,然后单击.exe,程序将正确加载.如果我单击任何一个链接,都会失败

I've created a project in Visual Studios 2010, and when I package it with InstallShield, I click new -> pick the primary output file, rename it, and then click the desktop option as well. It properly creates the shortcuts to both the start menu and the desktop, but they don't point to the correct location. If I go straight to the Program Files x86 folder and click on the .exe, the program loads correctly. If I click on either of the links, it fails

推荐答案

尝试一下.

转到InstallShield项目->配置目标系统->快捷方式/文件夹

Go to InstallShield Project -> Configure the Target System -> Shortcuts/Folders

选择快捷方式,然后在行为"属性中设置工作目录([INSTALLDIR]). 对开始菜单执行相同的操作.

Select your shourtcut and Set your Working Directory ([INSTALLDIR]) in Behavior Property. Do the same for your start menu.

它在Installshield 2013中为我工作.

It worked for me in Installshield 2013.

这篇关于InstallShield快捷链接将转到错误的目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆