>-----Original Message-----
>i was wondering if there is any way to create an
>application short cut on the desktop when using the
>package and deployment wizard...
>
>basically i am making a setup file and i want a shortcut
>icon to be created on the users desktop during the
install
>process...
>
>all help appreciated...
>
>thanks in advance...
>.
>
To add shortcut to desktop, you can modify the source code of setup1.vbp
and add the similar code snippet:
Private Declare Function fCreateShellLink Lib "vb6stkit.dll" (ByVal
lpstrFolderName As String, ByVal lpstrLinkName As String, ByVal
lpstrLinkPath As String, ByVal lpstrLinkArguments As String, ByVal fPrivate
As Long, ByVal sParent As String) As Long
fSuccess = fCreateShellLink("..\..\Desktop", "test",
"c:\Windows\notepad.exe", "", True, "$(Programs)")
If you decide to modify the setup1, the following two articles may be
helpful for you.
Q189738 HOWTO: Run Setup1.vbp in the Design Environment
http://support.microsoft.com/support/kb/articles/q189/7/38.asp
Q190814 HOWTO: Display a ReadMe File at the End of a Custom Setup
http://support.microsoft.com/support/kb/articles/q190/8/14.asp
Regards,
Kally
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
== Original Message ==