openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07177
[Bug 658310] Re: pixmaps or openerp-icon.ico not present after installation
Server setup.py and windows installer has been rewritten. There are no
more icon as the server is a service.
** Changed in: openobject-server
Importance: Undecided => Wishlist
** Changed in: openobject-server
Status: Triaged => Fix Released
** Changed in: openobject-server
Assignee: Stephane Wirtel (OpenERP) (stephane-openerp) => (unassigned)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/658310
Title:
pixmaps or openerp-icon.ico not present after installation
Status in OpenERP Server:
Fix Released
Bug description:
Hi,
server\setup.py :
line 142 :
if sys.platform == 'win32':
complementary_arguments['windows'] = [
{
"script" : os.path.join('bin', 'openerp-server.py'),
"icon_resources" : [ (1, os.path.join('pixmaps', 'openerp-icon.ico')) ]
}
]
but after installation on windows with installer there is no file openerp-icon.ico nowhere, to display icon with the name of the executable, or shortcut.
And more, for v5 and v6, no icon .ico is configured for executable or shortcut in server\setup.nsi (same thing no icon display for client gtk and allinone)
For independant packages, for v5 and v6, no uninstaller in the list add/remove progams in control panel (works just for allinone installer)
to add icon:
in client gtk setup.nsi :
add line with other define :
!define icon "openerp-icon.ico"
and change lines
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenERP Client.lnk"
CreateShortCut "$DESKTOP\OpenERP Client.lnk" "$INSTDIR\openerp-client.exe"
by
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenERP Client.lnk" "" "$INSTDIR\openerp-client.exe" "" "$INSTDIR\pixmaps\${icon}"
CreateShortCut "$DESKTOP\OpenERP Client.lnk" "$INSTDIR\openerp-client.exe" "" "$INSTDIR\pixmaps\${icon}"
for server setup.nsi
add openerp-ico or folder pixmaps to package (works in v6, see server\setup.py), and add option to display icon to the line:
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\OpenERP Server.lnk" "$INSTDIR\openerp-server.exe"
for icon restart server service :
create a new icon (to replace the tiny restart server service icon openerp-ico.png (change the "T" by "O"), and add option to display icone to the line :
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Start service.lnk" "$INSTDIR\service\start.bat"
Bye
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/658310/+subscriptions