Arbitrary shortcut in a cab

Maybe a wierd solution but how ever.
Trying to create a shortcut in CAB #1 that targets a file packed in CAB #2.
Cabwizard wount let it pass because "... there is no matching target file ...".
Is it possible to create an arbitrary shortcut in a cab?
For example, if I want to create my own shortcut to the calculator on a Pocket PC device it could look something like this in an inf file:

[MyCalcShortcut]
"Abacus",0,"%CE2%\calc.exe",%CE17%

[DefaultInstall]
CEShortcuts = MyCalcShortcut

This would create a shortcut in the start manu called "Abacus" pointing on calc.exe under \Windows.
However this doesn't work ... or is there a way?

/regs jutsi

[710 byte] By [jutsi] at [2007-12-16]
# 1

Workaround for this:

Create your own link file, for example a file called Abacus.lnk that contains:
#46"\Windows\calc.exe"

Add the file in your cab as other files but copy it into your device start menu:
[CopyToStartMenu]
"Abacus.lnk"

[DestinationDirs]
CopyToStartMenu = 0,%CE17%

[DefaultInstall]
CopyFiles = CopyToStartMenu

This way you will have your own shortcut for calc called "Abacus" (as in the name of the file you just copied).

/regs jutsi

jutsi at 2007-9-9 > top of Msdn Tech,Smart Device Development,Smart Devices General...