Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Shortcut Creator v.1.2

Created: 13 Nov 2006 • Updated: 29 Jul 2010 | 11 comments
Adam Moore's picture
0 0 Votes
Login to vote

This tool will create a shortcut that, when clicked, will start your layer. If the layer is already activated it will start your program.

How does this work?

  1. Start the Layer that you want to create the shortcut for.
  2. Start Shortcut Creator
  3. Choose a Layer
  4. Choose the path to the program
  5. Choose an icon file or program to extract an icon from.
  6. Choose an available icon
  7. Click Create Shortcut
  8. Choose the place to put the shortcut
  9. Shortcut is created and will start the layer when clicked. If the layer is already started it will start the program.

Changes

v1.2

  • Fixed error when choosing a .ico file.
  • Now has a default icon that it will use when nothing is chosen.
  • Replaced icon extracting utility with Nirsoft IconsExtract. This will reduce flashing in the program.
  • Side effect of replacing utility is the filesize of the zip is reduced by nearly 300KB.

v1.1

  • Will work on non default installs of SVS.
  • Option to Autostart the program on activation launch.
  • Now will use a localization.ini file to localize the application. The file must be in the same folder as the program. If the file is not there it will default to English.

Got any questions? Feel free to ask.

For a primer on autostarting applications, check out this.

License: AJSL
By clicking the download link below, you agree to the terms and conditions in the Altiris Juice Software License
Support: User-contributed tools on the Juice are not supported by Altiris Technical Support. If you have questions about a tool, please communicate directly with the author by visiting their profile page and clicking the 'contact' tab.

Comments 11 CommentsJump to latest comment

Thunder-man's picture

The path in your Script is "C:\program files\Altiris\Software Virtualization Agent"

By me,
"D:\Programme\Altiris\Software Virtualization Agent\SVSCmd.exe"

It's no Option to change this...

Greet
Frank M.

Google English…
SVSLoad.com

0
Login to vote
Adam Moore's picture

Make sure you have downloaded version 1.1. I corrected this in that version. If it doesn't fix it then feel free to contact me directly.

0
Login to vote
Thunder-man's picture

Now I can start, but select no Icon...

GUICtrlSetImage($icon_pic,@ScriptDir & "\icons\" & $IconFiles[$Count])
GUICtrlSetImage($icon_pic,@ScriptDir & "\icons\" & $IconFiles^ ERROR

Error: Subscript used with non-Array variable.

See a Picture

Sorry for my bad English…

Google English…
SVSLoad.com

0
Login to vote
FrankB's picture

The mandatory shortcut part is not really a good idea. I have a program that the developer compressed, and it seems that your program is unable to grab the icon from it.
Why not (when not choosing an icon) use the SVS Icon?

Regards, Starf0x

PS, why don't you change the icon from your program also, that is easy with an AutoIT generated program.

______________________________________________
Frank Bastiaens
Senior Technical Consultant
http://www.aimedsolutions.nl

0
Login to vote
Adam Moore's picture

That's a good idea about defaulting to the SVS icon. I'll do that.

I haven't chosen a different icon than the AutoIT icon because I am not a graphic artist by any means and I didn't feel it was too necessary to have a separate look for the program. But if you have a graphic that I can use I will be happy to incorporate it, if it's legal to do so.

@thunder-man
I'll be fixing that soon. So look for version 1.2

0
Login to vote
FrankB's picture

May I opt another option?

When we close the program we 'Autostarted' the layer deactivates.

This way we'll keep an overview what is started, and what not.

This way we'll have to deactivate a lot of layers at the end of the day when we use the shortcuts.

Kind Regards, Starf0x

______________________________________________
Frank Bastiaens
Senior Technical Consultant
http://www.aimedsolutions.nl

0
Login to vote
Adam Moore's picture

I have thought about it, but I'm still trying to figure out how it should work. Not everyone will want it to happen for all the layers. So it must be optional. So here is my thought:

Checkbox for autostarting the program.
Checkbox for deactivating the program on program close.

Now this will not work 100% of the time. Here is an example where it will not work. Let's say the program to start it is a batch file that launches other programs. Once that batch file is closed it will deactivate the layer. I'll have to look, but I don't think I have a way to check for child processes.

But I will come out with something.

0
Login to vote
Scott Jones's picture

Eventually we'll have an OnEvent action for you, something to the extent of "OnPostEndOfProcessTree".

This will be necessary for the Secure Mode ("Auto Reset on Close") feature in Lightning, but also has been a popular request from developers.

In the meantime, take a look at how Randy did it with a script in his IE - Reset on Close VSP on SVSDownloads.com.

Scott Jones
Business Critical Engineer, Endpoint Virtualization
Symantec Corporation
www.symantec.com
 

0
Login to vote
MadNav's picture

Have you attempted any Host to Virtual Machine SVN shortcutting? - & VS/VS

Do you have user rights management or runas scripting support within version updates direction?

Shortcuts are good =) Proceed As Directed :)

-= Mars Or Bust =-

0
Login to vote
Adam Moore's picture

Could you explain more on what you're asking for? I don't quite understand.

0
Login to vote
wizard1970's picture

Last week I was looking for this piece of software.
I wil try it.

0
Login to vote