I have been working on creating an uninstall application package to remove Lync
2013 Basic from machines.
I have made the uninstall as follows:
setup.exe /uninstall LyncEntry /config \\servername\d$\Source\Software\Lync
2013\BasicX86\lyncentry.ww\config.xml<file:///\\servername\d$\Source\Software\Lync%202013\BasicX86\lyncentry.ww\config.xml>
The config file contains the "silent" stuff, as stated on the MS site.
When I run the uninstaller in my AppEnforce log file I have the following:
++++++ App enforcement completed (3 seconds) for App DT "Microsoft LyncEntry
2013 - Windows Installer (*.msi file)"
[ScopeId_FCBF917E-15D8-4B74-99F7-2478A740373B/DeploymentType_84152d30-f0d6-42a3-a1a6-f5a845395d3f],
Revision: 10, User SID: ] ++++++ AppEnforce 7/4/2013 4:02:36 PM
2776 (0x0AD8)
+++ Starting Uninstall enforcement for App DT "Microsoft LyncEntry 2013 -
Windows Installer (*.msi file)" ApplicationDeliveryType -
ScopeId_FCBF917E-15D8-4B74-99F7-2478A740373B/DeploymentType_84152d30-f0d6-42a3-a1a6-f5a845395d3f,
Revision - 12, ContentPath - C:\Windows\ccmcache\v, Execution Context - System
AppEnforce 7/4/2013 4:30:00 PM 4700 (0x125C)
A user is logged on to the system. AppEnforce 7/4/2013 4:30:00
PM 4700 (0x125C)
Performing detection of app deployment type Microsoft LyncEntry 2013 -
Windows Installer (*.msi
file)(ScopeId_FCBF917E-15D8-4B74-99F7-2478A740373B/DeploymentType_84152d30-f0d6-42a3-a1a6-f5a845395d3f,
revision 12) for system. AppEnforce 7/4/2013 4:30:00 PM
4700 (0x125C)
+++ Discovered application [AppDT Id:
ScopeId_FCBF917E-15D8-4B74-99F7-2478A740373B/DeploymentType_84152d30-f0d6-42a3-a1a6-f5a845395d3f,
Revision: 12] AppEnforce 7/4/2013 4:30:00 PM 4700 (0x125C)
App enforcement environment:
Context: Machine
Command line: setup.exe /uninstall LyncEntry /config
\\servername\d$\Source\Software\Lync 2013\BasicX86\lyncentry.ww\config.xml
Allow user interaction: No
UI mode: 0
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\v
Working directory: AppEnforce 7/4/2013 4:30:00
PM 4700 (0x125C)
Prepared working directory: C:\Windows\ccmcache\v AppEnforce
7/4/2013 4:30:00 PM 4700 (0x125C)
Prepared command line: "C:\Windows\ccmcache\v\setup.exe" /uninstall
LyncEntry /config \\ servername \d$\Source\Software\Lync
2013\BasicX86\lyncentry.ww\config.xml AppEnforce 7/4/2013 4:30:00
PM 4700 (0x125C)
Executing Command line: "C:\Windows\ccmcache\v\setup.exe" /uninstall
LyncEntry /config \\ servername \d$\Source\Software\Lync
2013\BasicX86\lyncentry.ww\config.xml with system context AppEnforce
7/4/2013 4:30:00 PM 4700 (0x125C)
Working directory C:\Windows\ccmcache\v AppEnforce 7/4/2013
4:30:00 PM 4700 (0x125C)
Post install behavior is BasedOnExitCode AppEnforce 7/4/2013
4:30:00 PM 4700 (0x125C)
Waiting for process 1340 to finish. Timeout = 120 minutes. AppEnforce
7/4/2013 4:30:00 PM 4700 (0x125C)
Process 1340 terminated with exitcode: 30045 AppEnforce
7/4/2013 4:30:04 PM 4700 (0x125C)
Looking for exit code 30045 in exit codes table... AppEnforce
7/4/2013 4:30:04 PM 4700 (0x125C)
Unmatched exit code (30045) is considered an execution failure.
AppEnforce 7/4/2013 4:30:04 PM 4700 (0x125C)
When I look up the error code 30045 I get: InvalidMetadataFile
Maybe I am missing something, and I have spent a few days on this doing it
multiple ways. If I only user setup.exe /uninstall LyncEntry then I get the pop
up windows, so I need it to be silent, so it said I needed to use the /config
option.
I am going to start from scratch with a new install just in case, but maybe
someone has had good things with Lync 2013 and CM12... cause I have not. After
this I need to then create an install package, so that should be no fun.
Thanks,
Kevin Johnston