Program not showing up in remove programs screen

J

Jerod Houghtelling

Hi all,

I have created a simple CAB file via the Smart Device CAB Project. I
have the NoUninstall set to false but after the cab file is installed
the program is not placed into the Remove Programs screen. Am I
missing something?

Here is the .inf file that is being created.

[Version]
Signature="$Windows NT$"
Provider="Computer's Unlimited"
CESignature="$Windows CE$"

[CEStrings]
AppName="CUI.Net\CDTS"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="Computer's Unlimited"

[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000

[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3

[SourceDisksNames]
1=,"Common1",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
2=,"Common2",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
3=,"Common3",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"

[SourceDisksFiles]
"CDTS.exe"=1
"CuiNetCF.DLL"=2
"DevicePlugInTypes.DLL"=3

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%"

[Files.Common1]
"CDTS.exe","CDTS.exe",,0

[Files.Common2]
"CuiNetCF.DLL","CuiNetCF.DLL",,0

[Files.Common3]
"DevicePlugInTypes.DLL","DevicePlugInTypes.DLL",,0


[Shortcuts]
"CDTS",0,"CDTS.exe","%CE11%"
"CDTS",0,"CDTS.exe","%CE17%"

[RegKeys]


Thanks in advance,
Jerod
 
E

Erwin Zwart

Jerod,

The installed applications are listed in the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]

Your application is not there it will not show up in the removed programs
list.
This could be when your installation needs a reboot, and you don't have
persistent registry. I am not aware of your configuration.

Second thing is that during installation a file is generated in the windows
folder called yourappname.unload. This file is used to actually uninstall
your application. If this file is not present, you are not able to
automatically uninstall your application (this when the registry entry is
there).

Hope this helps,

Erwin Zwart
 
J

Jerod Houghtelling

Thanks Erwin,

I checked the registry and it my application is under the Apps folder.
Actually they are in a sub folder that is in the Apps directory.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Computers Unlimited CUI.Net\CDTS].
I've noticed if I move the node up a level my application then shows
in the Remove Programs. However nothing appears to uninstall when it
is chosen.

The CDTS node contains these key/values:
InstlDir = \Program Files\CUI.Net\CDTS
InstallDir = \Program Files\CUI.Net\CDTS
InstDirCnt = 1
CabFile = \Windows\AppMgr\Install\Temp.cab
CmdFile = \Windows\AppMgr\Computer's Unlimited CUI.Net\CDTS.DAT <--
File Doesn't Exist
Instl = 1

Could someone please tell me how to change the cab to not install in
our company sub folder in the Apps section?

Thanks again!
Jerod

Jerod,

The installed applications are listed in the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]

Your application is not there it will not show up in the removed programs
list.
This could be when your installation needs a reboot, and you don't have
persistent registry. I am not aware of your configuration.

Second thing is that during installation a file is generated in the windows
folder called yourappname.unload. This file is used to actually uninstall
your application. If this file is not present, you are not able to
automatically uninstall your application (this when the registry entry is
there).

Hope this helps,

Erwin Zwart






I have created a simple CAB file via the Smart Device CAB Project. I
have the NoUninstall set to false but after the cab file is installed
the program is not placed into the Remove Programs screen. Am I
missing something?
Here is the .inf file that is being created.
[Version]
Signature="$Windows NT$"
Provider="Computer's Unlimited"
CESignature="$Windows CE$"
[CEStrings]
AppName="CUI.Net\CDTS"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="Computer's Unlimited"
[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3
[SourceDisksNames]
1=,"Common1",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
2=,"Common2",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
3=,"Common3",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
[SourceDisksFiles]
"CDTS.exe"=1
"CuiNetCF.DLL"=2
"DevicePlugInTypes.DLL"=3

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%"
[Files.Common1]
"CDTS.exe","CDTS.exe",,0
[Files.Common2]
"CuiNetCF.DLL","CuiNetCF.DLL",,0
[Files.Common3]
"DevicePlugInTypes.DLL","DevicePlugInTypes.DLL",,0
[Shortcuts]
"CDTS",0,"CDTS.exe","%CE11%"
"CDTS",0,"CDTS.exe","%CE17%"
[RegKeys]

Thanks in advance,
Jerod
 
E

Erwin Zwart

Jerod,

Don't use slashes in your application name :
[CEStrings]
AppName="CUI.Net\CDTS"

but for example:
[CEStrings]
AppName="CDTS"

That will cause the creation of the sub folder.

About the second item re-read my previous post about the *.unload file.

If this is not present WinCE is not able to uninstall your program. i don't
now if you can provide a path to this unload file to store this on
persistent storage.

Erwin Zwart

Jerod Houghtelling said:
Thanks Erwin,

I checked the registry and it my application is under the Apps folder.
Actually they are in a sub folder that is in the Apps directory.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Computers Unlimited CUI.Net\CDTS].
I've noticed if I move the node up a level my application then shows
in the Remove Programs. However nothing appears to uninstall when it
is chosen.

The CDTS node contains these key/values:
InstlDir = \Program Files\CUI.Net\CDTS
InstallDir = \Program Files\CUI.Net\CDTS
InstDirCnt = 1
CabFile = \Windows\AppMgr\Install\Temp.cab
CmdFile = \Windows\AppMgr\Computer's Unlimited CUI.Net\CDTS.DAT <--
File Doesn't Exist
Instl = 1

Could someone please tell me how to change the cab to not install in
our company sub folder in the Apps section?

Thanks again!
Jerod

Jerod,

The installed applications are listed in the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]

Your application is not there it will not show up in the removed programs
list.
This could be when your installation needs a reboot, and you don't have
persistent registry. I am not aware of your configuration.

Second thing is that during installation a file is generated in the
windows
folder called yourappname.unload. This file is used to actually uninstall
your application. If this file is not present, you are not able to
automatically uninstall your application (this when the registry entry is
there).

Hope this helps,

Erwin Zwart






I have created a simple CAB file via the Smart Device CAB Project. I
have the NoUninstall set to false but after the cab file is installed
the program is not placed into the Remove Programs screen. Am I
missing something?
Here is the .inf file that is being created.
[Version]
Signature="$Windows NT$"
Provider="Computer's Unlimited"
CESignature="$Windows CE$"
[CEStrings]
AppName="CUI.Net\CDTS"
InstallDir=%CE1%\%AppName%

[Strings]
Manufacturer="Computer's Unlimited"
[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3
[SourceDisksNames]
1=,"Common1",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
2=,"Common2",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
3=,"Common3",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
[SourceDisksFiles]
"CDTS.exe"=1
"CuiNetCF.DLL"=2
"DevicePlugInTypes.DLL"=3

[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%"
[Files.Common1]
"CDTS.exe","CDTS.exe",,0
[Files.Common2]
"CuiNetCF.DLL","CuiNetCF.DLL",,0
[Files.Common3]
"DevicePlugInTypes.DLL","DevicePlugInTypes.DLL",,0
[Shortcuts]
"CDTS",0,"CDTS.exe","%CE11%"
"CDTS",0,"CDTS.exe","%CE17%"
[RegKeys]

Thanks in advance,
Jerod
 
J

Jerod Houghtelling

The slash would make since why the program would be in a separate
folder. I intentionally put in in there because I want my program
layout to be /Program Files/CUI.Net/CDTS/<caboutput>. I tried to do
this by adding the Program Files special folder and then adding a
CUI.Net folder to that through the CAB project, but when I did that it
also created the application folder. So I would incorrectly have a
blank folder called /Program Files/CDTS/. My work around for this was
to put all of the project output into the Application special folder
and then name the application CUI.Net/CDTS. Maybe I just need to go
back and research that problem.

Thanks again for all of your help!
Jerod


Jerod,

Don't use slashes in your application name :
[CEStrings]
AppName="CUI.Net\CDTS"

but for example:
[CEStrings]
AppName="CDTS"

That will cause the creation of the sub folder.

About the second item re-read my previous post about the *.unload file.

If this is not present WinCE is not able to uninstall your program. i don't
now if you can provide a path to this unload file to store this on
persistent storage.

Erwin Zwart


Thanks Erwin,
I checked the registry and it my application is under the Apps folder.
Actually they are in a sub folder that is in the Apps directory.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Computers Unlimited CUI.Net\CDTS].
I've noticed if I move the node up a level my application then shows
in the Remove Programs. However nothing appears to uninstall when it
is chosen.
The CDTS node contains these key/values:
InstlDir = \Program Files\CUI.Net\CDTS
InstallDir = \Program Files\CUI.Net\CDTS
InstDirCnt = 1
CabFile = \Windows\AppMgr\Install\Temp.cab
CmdFile = \Windows\AppMgr\Computer's Unlimited CUI.Net\CDTS.DAT <--
File Doesn't Exist
Instl = 1
Could someone please tell me how to change the cab to not install in
our company sub folder in the Apps section?
Thanks again!
Jerod
Jerod,
The installed applications are listed in the following key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps]
Your application is not there it will not show up in the removed programs
list.
This could be when your installation needs a reboot, and you don't have
persistent registry. I am not aware of your configuration.
Second thing is that during installation a file is generated in the
windows
folder called yourappname.unload. This file is used to actually uninstall
your application. If this file is not present, you are not able to
automatically uninstall your application (this when the registry entry is
there).
Hope this helps,
Erwin Zwart

Hi all,
I have created a simple CAB file via the Smart Device CAB Project. I
have the NoUninstall set to false but after the cab file is installed
the program is not placed into the Remove Programs screen. Am I
missing something?
Here is the .inf file that is being created.
[Version]
Signature="$Windows NT$"
Provider="Computer's Unlimited"
CESignature="$Windows CE$"
[CEStrings]
AppName="CUI.Net\CDTS"
InstallDir=%CE1%\%AppName%
[Strings]
Manufacturer="Computer's Unlimited"
[CEDevice]
VersionMin=4.0
VersionMax=6.99
BuildMax=0xE0000000
[DefaultInstall]
CEShortcuts=Shortcuts
AddReg=RegKeys
CopyFiles=Files.Common1,Files.Common2,Files.Common3
[SourceDisksNames]
1=,"Common1",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
2=,"Common2",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
3=,"Common3",,"C:\AutoBuilds\SVN\trunk\Source\Executables\CDTS\bin
\Release\"
[SourceDisksFiles]
"CDTS.exe"=1
"CuiNetCF.DLL"=2
"DevicePlugInTypes.DLL"=3
[DestinationDirs]
Shortcuts=0,%CE2%\Start Menu
Files.Common1=0,"%InstallDir%"
Files.Common2=0,"%InstallDir%"
Files.Common3=0,"%InstallDir%"
[Files.Common1]
"CDTS.exe","CDTS.exe",,0
[Files.Common2]
"CuiNetCF.DLL","CuiNetCF.DLL",,0
[Files.Common3]
"DevicePlugInTypes.DLL","DevicePlugInTypes.DLL",,0
[Shortcuts]
"CDTS",0,"CDTS.exe","%CE11%"
"CDTS",0,"CDTS.exe","%CE17%"
[RegKeys]
Thanks in advance,
Jerod
 

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

Similar Threads


Top