[Run]
Filename: {app}\bin\mysqld; Parameters: --install; WorkingDir: {app}\bin;
Flags: postinstall runhidden; StatusMsg: MySQL service installing;
AfterInstall: InitializeService;
[Code]
procedure InitializeService();
var
ErrorCode: Integer;
begin
ShellExec('', ExpandConstant('{sys}\net.exe'),' start mysql', '',
SW_SHOW, ewNoWait, ErrorCode);
end;
Categories
symfony 1.2
(5)
jQuery
(4)
java
(4)
eclipse rcp
(3)
spring
(3)
Inno Setup
(2)
JavaScript
(2)
MySQL
(2)
drupal
(2)
forms
(2)
jqGrid
(2)
litha-paint
(2)
required fields
(2)
CCK field filling
(1)
CRUD
(1)
Content page
(1)
Coursera
(1)
Coursera lectures
(1)
DB encoding
(1)
EclipseLink
(1)
ImageDescriptor
(1)
JPA
(1)
PR your self
(1)
blogger
(1)
data:postLabelsLabel
(1)
debug
(1)
deep object clone
(1)
django
(1)
django templates
(1)
eclipse
(1)
entity naming convention
(1)
error
(1)
github
(1)
google calendar
(1)
grid
(1)
hello world
(1)
hibernate
(1)
jinja2
(1)
jndi
(1)
maven
(1)
menu
(1)
mylyn
(1)
open source
(1)
postdata
(1)
propel behavior
(1)
python
(1)
release
(1)
service
(1)
setup script
(1)
startup
(1)
symfony 1.2.2
(1)
tags
(1)
templating
(1)
tomcat
(1)
transaction
(1)
web drawing
(1)
web service
(1)
2009-05-21
Inno Setup & MySQL
To start mysql as service from Inno Setup installer you can use this code:
Subscribe to:
Post Comments (Atom)
2 comments:
Excellent code...
Excellent code...great job..
Post a Comment