>-----Original Message-----
>From: Uwe Stöhr [mailto:[email protected]]
>Sent: Wednesday, January 29, 2014 8:05 PM
>To: LyX-Devel
>Cc: [email protected]
>Subject: Re: Fwd: Windows uninstaller (v. 2.0.7-installer-1) deletes all
icons at
>uninstall
>
>> Date:     Sun, 26 Jan 2014 13:00:19 +0100
>> From:     Øyvind Sørbye <[email protected]>
>>
>> I am working on making a silent install/uninstall package of Lyx for
>> our organization. There is an annoying error in the uninstaller, when
>> running it, it removes _all_ icons under
>> "C:\programdata\microsoft\windows\Start
>> Menu\Programs". The subfolders of the Start Menu is still there, but
>> all icons for all other program are gone.
>
>Ouch. This should not happen. What version of Windows are you using, did
>you hape admin permissions or not while uninstalling LyX?
>I tried to reproduce the problem but cannot see it on Win 7 professional.
>
>regards Uwe

Ahh, now I see:

It happens only when I install lyx silently, running from an elevated
prompt: LyX-2.0.7-Installer-1.exe /S

If I do an ordinary installation (as administrator) from the GUI, the Lyx
icons ends up in a separate folder:

Directory of C:\ProgramData\Microsoft\Windows\Start Menu\Programs\LyX 2.0
30.01.2014  07:48                45 LyX Website.url
30.01.2014  07:48                45 LyX Wiki.url
30.01.2014  07:48             2 013 LyX.lnk

When I run the same installer silent, LyX-2.0.7-Installer-1.exe /S, the
separate folder for Lyx icons is not created, and all Lyx icons are stored
in the same folder as all other icons:

Directory of C:\ProgramData\Microsoft\Windows\Start Menu\Programs:

14.01.2014  20:45    <DIR>          Accessories
14.01.2014  17:35    <DIR>          Administrative Tools
21.11.2010  07:30    <DIR>          Games
30.01.2014  08:12                45 LyX Website.url
30.01.2014  08:12                45 LyX Wiki.url
30.01.2014  08:12             2 007 LyX.lnk
14.07.2009  05:57    <DIR>          Maintenance
14.01.2014  17:35             1 345 Media Center.lnk
28.01.2014  10:21    <DIR>          Microsoft Office
16.01.2014  10:44    <DIR>          Microsoft Silverlight
28.01.2014  10:21    <DIR>          SharePoint
14.07.2009  05:57             1 330 Sidebar.lnk
14.07.2009  05:54    <DIR>          Startup
14.01.2014  17:35             1 326 Windows DVD Maker.lnk
14.07.2009  05:54             1 210 Windows Fax and Scan.lnk
21.11.2010  04:40             1 547 Windows Media Player.lnk

When I run the uninstaller, all icons and subfolder are gone:

Directory of C:\ProgramData\Microsoft\Windows\Start Menu

File Not Found

So there is the culprit, the silent install doesn't make a separate folder
for the icons on the start menu.

Another request I have: Is it possible to make the uninstaller silent, I try
to run:

 C:\>"\Program Files (x86)\LyX 2.0\Uninstall-LyX.exe" /S

But it always asks "Are you sure you want to completely remove LyX and all
of its components?

-- 
Øyvind Sørbye
SVIT, UiO 






Reply via email to