INF and Shortcuts command line switch
From: Craig (news_at_craigpay.com)
Date: 09/16/04
- Next message: Paul G. Tobey [eMVP]: "Re: how to hook up symbol MC9000-G windows ce emulator to vs.net 2003"
- Previous message: casey chesnut: "Re: OpenNETCF Cryptography questions - using RSA for licensing strategy"
- Next in thread: Alex Feinman [MVP]: "Re: INF and Shortcuts command line switch"
- Reply: Alex Feinman [MVP]: "Re: INF and Shortcuts command line switch"
- Messages sorted by: [ date ] [ thread ]
Date: 16 Sep 2004 07:55:51 -0700
Ok, here's a challenge for you. I want to create a CAB file using
CabWiz and INF that creates a Shortcut in the \Windows\StartUp folder
to the following...
"\Program Files\MyApp\MyApp.exe" -h
I could do this by manually creating an LNK file with the right path
and use CabWiz to copy the LNK file to that location.
However, this doesn't support none-English devices, so I should use
[Shortcuts] instead... but this doesn't let me add the all important
'-h' switch.
Any ideas?
TIA
Craig
[Version]
Signature="$Windows NT$"
Provider="My Company"
CESignature="$Windows CE$"
[CEStrings]
AppName="MyApp"
InstallDir=%CE1%\%AppName%
[CEDevice]
VersionMin=3.00
VersionMax=4.99
[DefaultInstall]
CEShortcuts=Shortcuts, StartUp
CopyFiles=Files.Common
[SourceDisksNames]
1=,"Common1",,"C:\Documents and Settings\My Documents\Visual Studio
Projects\MyApp\obj\Release\"
[SourceDisksFiles]
MyApp.exe=1
[DestinationDirs]
Files.Common=0,%InstallDir%
StartUp=0,%CE4%
Shortcuts=0,%CE2%\Start Menu
[Files.Common]
MyApp.exe,,,0
[Shortcuts]
%AppName%,0,MyApp.exe,%CE11%
[StartUp]
%AppName%,0,MyApp.exe
- Next message: Paul G. Tobey [eMVP]: "Re: how to hook up symbol MC9000-G windows ce emulator to vs.net 2003"
- Previous message: casey chesnut: "Re: OpenNETCF Cryptography questions - using RSA for licensing strategy"
- Next in thread: Alex Feinman [MVP]: "Re: INF and Shortcuts command line switch"
- Reply: Alex Feinman [MVP]: "Re: INF and Shortcuts command line switch"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|