Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Shortcut properties not available


2 replies to this topic

Ralf

Ralf
  • Full Members
  • 63 posts

Posted 12 April 2003 - 22:59

Hi,
using ISWI 1.1 I defined for a component a desktop shortcut. I set the parameters (working directory, ...) in the concerning dialog of the component in the ISWI IDE. I ran the the setup on different PCs under NT 4.0 (Built 1381, SP6). The shortcut was installed on the desktop on every PC and it works properly.

The problem is now that the properties of the shortcut on the desktop are not available on every PC. On one PC I open the context menu of the shortcut on the desktop (right mouse click on the shortcut), open the properties dialog and I can change the parameters (e.g. working directory). On another PC (same operating system!) the properties dialog opens but all edit fields are empty and grey (inactive). But this shortcut works properly too.

What´s the problem of this shortcut?

Thanks
Ralf

Edited by Ralf, 12 April 2003 - 22:59.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 April 2003 - 09:15

I guess you made this a "managed" or "advertised" shortcut, which means that Windows Installer will be able to tigger auto-repair if your application is launched from this shortcut and some file is msssing.
The consequence of this is that the shortcut properties become read-only.

However this type of shortcut is not possible on older systems (with old shell.dll), e.g. on NT4 if you have an older Internet Explorer installed. This would explain the different behaviour on some systems. Dee "Platform support for advertising" in the MSI SDK for details.

Ralf

Ralf
  • Full Members
  • 63 posts

Posted 14 April 2003 - 08:59

Hi Stefan,
thank you for information.

To get writeable shortcut properties, instead of "managed" or "advertised" shortcut, I guess I have to set the property "DISABLEADVTSHORTCUTS" via property manager to YES?

Sincerely,
Ralf

Edited by Ralf, 14 April 2003 - 11:48.