ShortCut icon in the startup group for my application

J

jayderk

I have been fighting with this shortcut in the startup group. Does anyone
have any examples of putting a shortcut in the startup group on a CE 4.1
device.

I have looked at the MSDN site and still can not get it working.

I am trying to get the *.inf file correct so it sends a shortcut to the
"\Windows\StartUp" directory with no luck on the CE 4.1 Operating System.


[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common

[DefaultInstall.ARMV4T]
CopyFiles=Files.ARMV4T
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"C:\dev\Metro\Metro\obj\Release\"
2=,"Common2",,"C:\dev\Metro\Metro\Images\"

[SourceDisksNames.ARMV4T]
4=,"ARMV4T4",,"C:\dev\Metro\Metro\obj\Release\"
5=,"ARMV4T_Setup",,"C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce400\ARMV4T\"

[SourceDisksFiles]
Metro.exe=1
Buzzer2.wav=2

[SourceDisksFiles.ARMV4T]
vsd_config.txt.ARMV4T=4
vsd_setup.dll=5

[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4T=0,%InstallDir%

[Files.Common]
Metro.exe,,,0
Buzzer2.wav,,,0

[Files.ARMV4T]
vsd_config.txt,vsd_config.txt.ARMV4T,,0
vsd_setup.dll,,,0

[Shortcuts]
MetroTrack,0,Metro.exe,%CE11%
 
G

Guest

If you really mean 'StartUp' group then the Directory identifier is:
%CE4% which is \Windows\StartUp on the device.

If it is the 'Start Menu' then the Directory identifier is:
%CE17% which is \Windows\Start Menu on the device

Hope that helps.
-Kumar
 
J

jayderk

I tried this and it still doesn't seem to work...



Raj Kumar said:
If you really mean 'StartUp' group then the Directory identifier is:
%CE4% which is \Windows\StartUp on the device.

If it is the 'Start Menu' then the Directory identifier is:
%CE17% which is \Windows\Start Menu on the device

Hope that helps.
-Kumar

jayderk said:
I have been fighting with this shortcut in the startup group. Does anyone
have any examples of putting a shortcut in the startup group on a CE 4.1
device.

I have looked at the MSDN site and still can not get it working.

I am trying to get the *.inf file correct so it sends a shortcut to the
"\Windows\StartUp" directory with no luck on the CE 4.1 Operating System.


[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common

[DefaultInstall.ARMV4T]
CopyFiles=Files.ARMV4T
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"C:\dev\Metro\Metro\obj\Release\"
2=,"Common2",,"C:\dev\Metro\Metro\Images\"

[SourceDisksNames.ARMV4T]
4=,"ARMV4T4",,"C:\dev\Metro\Metro\obj\Release\"
5=,"ARMV4T_Setup",,"C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce400\ARMV4T\"

[SourceDisksFiles]
Metro.exe=1
Buzzer2.wav=2

[SourceDisksFiles.ARMV4T]
vsd_config.txt.ARMV4T=4
vsd_setup.dll=5

[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4T=0,%InstallDir%

[Files.Common]
Metro.exe,,,0
Buzzer2.wav,,,0

[Files.ARMV4T]
vsd_config.txt,vsd_config.txt.ARMV4T,,0
vsd_setup.dll,,,0

[Shortcuts]
MetroTrack,0,Metro.exe,%CE11%
 
J

jayderk

Oppps,
here is the code

[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4T=0,%InstallDir%

[Files.Common]
Metro.exe,,,0
Buzzer2.wav,,,0

[Files.ARMV4T]
vsd_config.txt,vsd_config.txt.ARMV4T,,0
vsd_setup.dll,,,0

[Shortcuts]
MetroTrack,0,Metro.exe,%CE11%
MetroTrack,0,Metro.exe,%CE4%




Raj Kumar said:
If you really mean 'StartUp' group then the Directory identifier is:
%CE4% which is \Windows\StartUp on the device.

If it is the 'Start Menu' then the Directory identifier is:
%CE17% which is \Windows\Start Menu on the device

Hope that helps.
-Kumar

jayderk said:
I have been fighting with this shortcut in the startup group. Does anyone
have any examples of putting a shortcut in the startup group on a CE 4.1
device.

I have looked at the MSDN site and still can not get it working.

I am trying to get the *.inf file correct so it sends a shortcut to the
"\Windows\StartUp" directory with no luck on the CE 4.1 Operating System.


[DefaultInstall]
CEShortcuts=Shortcuts
CopyFiles=Files.Common

[DefaultInstall.ARMV4T]
CopyFiles=Files.ARMV4T
CESetupDLL=vsd_setup.dll

[SourceDisksNames]
1=,"Common1",,"C:\dev\Metro\Metro\obj\Release\"
2=,"Common2",,"C:\dev\Metro\Metro\Images\"

[SourceDisksNames.ARMV4T]
4=,"ARMV4T4",,"C:\dev\Metro\Metro\obj\Release\"
5=,"ARMV4T_Setup",,"C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows CE\wce400\ARMV4T\"

[SourceDisksFiles]
Metro.exe=1
Buzzer2.wav=2

[SourceDisksFiles.ARMV4T]
vsd_config.txt.ARMV4T=4
vsd_setup.dll=5

[DestinationDirs]
Files.Common=0,%InstallDir%
Shortcuts=0,%CE2%\Start Menu
Files.ARMV4T=0,%InstallDir%

[Files.Common]
Metro.exe,,,0
Buzzer2.wav,,,0

[Files.ARMV4T]
vsd_config.txt,vsd_config.txt.ARMV4T,,0
vsd_setup.dll,,,0

[Shortcuts]
MetroTrack,0,Metro.exe,%CE11%
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top