PDA

View Full Version : Windows CE Object Shortcuts



jott72
10-06-2003, 07:44 AM
I have an installation that only contains the Windows CE Object. This installs .net CF and SQL Server CE as well as two apps. Everything gets installed OK except for the shortcuts. I added three shortcuts, 1 for app1 in \Windows\Start menu, 1 for app1 in \Windows\Start Menu\Programs, and the other for app2 in \Windows\Start Menu\Programs.

Any ideas of what my be missing or done incorrectly?

Thanks,

Scott

KentFoyer
10-08-2003, 02:34 PM
I will look at this. Would you post the inf file? Also, I would like to reproduce this with a minimal project, so would you tell me the Platform/Processors you are targeting?

jott72
10-09-2003, 05:32 AM
I am targeting Windows CE.NET ARMV4 & ARMV4T and PocketPC 2002 ARM.

My inf file looks like:
[Version]
Signature="$Windows NT$"
Provider="ScanOnline"
CESignature="$Windows CE$"


[CEStrings]
AppName="ScanAsset Handheld"
InstallDir=%CE1%\ScanOnline\ScanAsset


[DestinationDirs]
Files00 = 0, %InstallDir%


[SourceDisksNames]
1=, "SourceDisk01",,G:\ScanOnline Asset Tracking\HandHeld\InitialLoader\dotNET\ScanAssetInitialLoader\bin\Release
2=, "SourceDisk02",,G:\ScanOnline Asset Tracking\HandHeld\dotNET\AssetManagerHH\dotNetVersion\ScanAsset\bin\Release
3=, "SourceDisk03",,C:\Program Files\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows CE
4=, "SourceDisk04",,G:\ScanOnline Asset Tracking\Desktop\images


[SourceDisksFiles]
"mscorlib.dll" = 1
"System.Data.Common.dll" = 1
"ScanAssetInitialLoader.exe" = 1
"ScanAsset.exe" = 2
"OpenNETCF.Win32.Registry.dll" = 3
"Symbol.Barcode.dll" = 3
"Symbol.dll" = 3
"check.ico" = 4
"IIL.ico" = 4


[DefaultInstall]
CopyFiles = Files00


[Files00]
"mscorlib.dll",,,0x00000012
"System.Data.Common.dll",,,0x00000012
"ScanAssetInitialLoader.exe",,,0x40000002
"ScanAsset.exe",,,0x40000002
"OpenNETCF.Win32.Registry.dll",,,0x00000012
"Symbol.Barcode.dll",,,0x00000012
"Symbol.dll",,,0x00000012
"check.ico",,,0x00000012
"IIL.ico",,,0x00000012


If this inf file is supposed to be like the cab file created by embedded Tools, isn't it supposed to have a Shortcuts section?

Thanks for your help,

Scott

KentFoyer
10-10-2003, 09:57 AM
Hi Scott,

Would it be possible for you to post the .ism file? I can't seem to reproduce the problem you are seeing. Maybe I am unclear on the steps to reproduce. Perhaps, if I can open the .ism file with DevStudio I can see what is going on.

Kent

jott72
10-13-2003, 05:31 AM
Attached is my .ism

KentFoyer
10-13-2003, 09:12 AM
Would you place the ism in a zip file and then upload? I am not able to open the ism file as it is now.

Thanks,

Kent

jott72
10-13-2003, 09:32 AM
Here it is in a zip...

KentFoyer
10-14-2003, 10:03 AM
I have looked at this and have confirmed it is a problem. I see the files you added are targeting all Platforms and Processors, but the shortcuts are only targeting .NET and PocketPC 2002. Is it possible for the file to only target these two instead of all of them? I believe if you do this then the shortcuts should get created.

jott72
10-14-2003, 10:29 AM
How do I target my apps to specific OS/Processor? In VS.NET or InstallShield?

jott72
10-14-2003, 10:43 AM
OK, I found where to set my targets. I did that and 2 of my three shortcuts work! I'm going to go back through and double check my 3rd one to make sure I did it right.

Thanks for all your time and help!

Scott

***
Third one was wrong. I fixed it and now all is well in install package land here!

Thanks again
***