C
Craig
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
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