For Windows installations I have been experimenting with using shortcuts to simplify things.
My installer first allows users to try out our solution running Servoy and Sybase as applications because this can be done very quickly.
Later we want our users to be able to easily switch over to running Servoy Application server as a Windows service. For this purpose I’ve created a shortcut named “Install Servoy Service” that installs Servoy Application Server as a Windows service when it is double-clicked. Under the Shortcut properties “Start In” I have “C:\Program Files\Servoy” and under the “Target” I have:
“C:\Program Files\Servoy\service\Wrapper.exe” -i “c:\program files\servoy\service\wrapper.conf”
I also have a second shortcut named “Delete Servoy Service” that uninstalls Servoy Application Server as a service. It has the same “Start In” and a “Target” of:
“C:\Program Files\Servoy\service\Wrapper.exe” -r “c:\program files\servoy\service\wrapper.conf”
I have a third shortcut named “Run Sybase” that is intended to allow our users to quickly startup Sybase pointing to the sybase.config file. It has the same “Start In” and a “Target” of:
“C:\Program Files\Servoy\sybase_db\dbsrv9.exe” -b “@c:\program files\servoy\sybase_db\sybase.config”
I have a question regarding this third shortcut. Is it okay to use the “-b” Server option this way? It seems to work. My objective is to allow the user to quickly startup Sybase as an application using this shortcut and then be able to go ahead and start Servoy Application Server as a service.
Also, is there any way to install Sybase as a service with a shortcut similar to the one above for Servoy Application Server? In the interest of simplicity (and download time - Sybase Central is 110MB) I am trying to figure out a way to avoid using Sybase Central, at least initially.
One other question, how can Sybase’s Adaptive Server Anywhere be uninstalled as a Windows service?