Changes

SumatraPDF

830 bytes added, 16:35, 2 January 2012
no edit summary
move "%ALLUSERSPROFILE%\Start Menu\Programs\SumatraPDF" "%ALLUSERSPROFILE%\..\Default User\Start Menu\Programs\"
</source>
 
== Change the default background color ==
 
If you don't want to keep yellow background color, proceed as follows :
 
First install SumatraPDF on you workstation. Then, edit the default shortcut in ''C:\ProgramData\Microsoft\Windows\Start Menu\Programs\SumatraPDF.lnk'' by right click -> Properties and add ''-bg-color 0xffffff'' (0xffffff is hexadecimal code for white color, but you can put what you want) at the end of the target. Press OK for validate.
Next, copy the specified shortcut on your ''%SOFTWARE%'' directory, and add this line on your WPKG package :
 
<source lang="xml">
<install cmd='%COMSPEC% /C XCOPY /R /Y "%SOFTWARE%\SumatraPDF.lnk" "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\"' />
</source>
 
This trick is for windows 7, but should work on Windows XP, just by changing the location of the shortcut.
[[Category:Silent Installers]]
1
edit