i want to run windows start service in the icon section through command prompt using inno setup.pls help me to solve this problem
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t run things through the
[Icons]section.If you want an icon to start a service, use something like:
Update after the question was clarified, but left here for posterity:
If you want Inno to start the service, you either use the SCM API called from theAfterInstallentry of the service itself or a[Run]entry: