Article ID: 242586 - Last Review: January 19, 2001 - Revision: 1.0 PRB: You Cannot Change the "Start in:" Property of a Shortcut in Visual Studio InstallerThis article was previously published under Q242586 SYMPTOMS
The working directory of shortcuts created in Visual Studio Installer (VSI) cannot be set within the VSI development environment.
RESOLUTION
The installation package author can use Orca to set the working directory directly in the .msi file. Orca is a table editing tool that is available in the Windows Installer SDK. For additional information on obtaining and using Orca, click the article number below
to view the article in the Microsoft Knowledge Base:
255905
(http://support.microsoft.com/kb/255905/EN-US/
)
HOWTO: Use the Orca Database Editor to Edit Windows Installer Files
Use this workaround to resolve the problem:
STATUS
This behavior is by design.
MORE INFORMATION
The value of the WkDir column is a property. If the working directory is not the folder where your program will be installed, then a property can be created and set in the Property table or on the command line. If you use the command line, you must use a public property (all capital letters).
REFERENCES
For information about Orca, tables, and properties, see the Windows Installer help file (Msi.chm) in the Windows Installer SDK. This is available from the following Web site: http://msdn.microsoft.com/developer/sdk/wininst.asp
(http://msdn.microsoft.com/developer/sdk/wininst.asp)
| Article Translations
|

Back to the top
