Old 20th June 2007, 07:35   #1
Hydex
Junior Member
 
Join Date: Jun 2007
Posts: 1
Shortcut creation

How can I create a shortcut like this one :

"C:\Program Files\Microsoft Office\OFFICE1\MSACCESS.EXE" "$INSTDIR\DB.mde" /WRKGRP "$INSTDIR\Sec.mdw"?

I only manage to create something like this, assuming I install in Program Files\Prog :

"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE C\Program Files\Prog\DB.mde WRKGRP C\Program Files\Prog\Sec.mdw"

No ':' after C, no " between arguments, no '/' before WRKGRP :/
I can't seem to make it work...

Thanks !

EDIT : With the script
code:
CreateShortCut "$DESKTOP\${PRODUCT_NAME}.lnk" "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" `"$INSTDIR\DB.mde`" /WRKGRP $INSTDIR\Sec.mdw"
I manage to create a shortcut like this :
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE" "C:\Program Files\Prog\DB.mde" but the last part (/WRKGRP ...) is completely lost...

Last edited by Hydex; 20th June 2007 at 07:52.
Hydex is offline   Reply With Quote
Old 20th June 2007, 11:24   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
What is /WRKGRP?
Is it a parameter for MSACCESS?

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump