Smart Devices General

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Arbitrary shortcut in a cab

    1 answers - 710 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    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

  • No.1 | | 569 bytes | |

    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

Re: Arbitrary shortcut in a cab


max 4000 letters.
Your nickname that display:
In order to stop the spam: 0 + 9 =
QUESTION ON "Smart Devices General"

MSDN DEVELOPMENT