Assigned to packaging manager for evaluation, thanks!

** Changed in: openobject-server
       Status: New => Triaged

** Changed in: openobject-server
     Assignee: (unassigned) => Stephane Wirtel (OpenERP) (stephane-openerp)

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/658310

Title:
  pixmaps or openerp-icon.ico not present after installation

Status in OpenObject Server:
  Triaged

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



_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to