Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

behdadsoft

don't create shortcut app in win 8 start

Recommended Posts

myselfidem    5

Tested with Windows 7 and works fine.

Example using the function JSCRIPT Create Shortcut inside Configuration wizard:

config.js


prog[pn]=['Ashampoo'];
uid[pn]=['ASHAMPOO'];
ordr[pn]=[2];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['"%wpipath%\\Install\\abs6_free.exe"','{JSCRIPT}=CreateShortcut("Raccourci vers "%comma%"C:\\WPI_v8.6.6\\Graphics\\WPI.ico"%comma%""%comma%"C:\\Program Files\\Ashampoo\\Ashampoo Burning Studio 6\\burningstudio.exe"%comma%""%comma%"AllUsersStartMenu"%comma%"")'];
cond[pn]=['getOSlang()=="FRS"'];
pn++;

WPI_Log.txt


lundi 3 juin 2013 09:58:47
Programme: Ashampoo
ID unique: ASHAMPOO
Ordre: 000002
Catégorie: Applications
lundi 3 juin 2013 09:59:40 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.6.6\Install\abs6_free.exe"
lundi 3 juin 2013 09:59:40 - cmd2 Succès (Code de retour true): CreateShortcut("Raccourci vers ","C:\WPI_v8.6.6\Graphics\WPI.ico","","C:\Program Files\Ashampoo\Ashampoo Burning Studio 6\burningstudio.exe","","AllUsersStartMenu","")
lundi 3 juin 2013 09:59:41 - Installation terminée.

Select carefully the path to launch the program and to set the icon file !

Edited by myselfidem

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×