Hello,

I'm installing a PowerShell script and would like to install a
shortcut for it. The problem is that the Shortcut tag defaults the
target of the shortcut to the filename, which in this case is an issue
because PowerShell isn't associated by default with .PS1 files. Is it
possible to modify the target of the shortcut in the tag?

So instead of the target pointing to myscript.ps1 it would point to:

powershell -Command "& 'myscript.ps1'"

Any help is greatly appreciated. Thank you in advance.

Best Regards,
Jason

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to