Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick.AppService Starting with Param #65

Open
fintechyazilim opened this issue Feb 22, 2021 · 2 comments
Open

Quick.AppService Starting with Param #65

fintechyazilim opened this issue Feb 22, 2021 · 2 comments

Comments

@fintechyazilim
Copy link

Hi,

I install the Application with a parameter.
Example: MyApplicaiton MyParam1 /install

After the installation, When i try to start the application ParamStr(1) gives me empty value.

When i make a normal service application without using Quick.AppService, ParamStr(1) gives me the parameter which i give on installation.

How can i get params on start?

Best Regards,
Serhan.

@fintechyazilim
Copy link
Author

MyServiceConsole.zip

MyServiceConsole.exe TEST /install

Give a parameter when you are installing the application.
(I'm setting the ImagePath at the end of the code)
But i can't get paramtr(1) when i start the application even it's not starting.
On the other hand this approch is working in classic service application.

@fintechyazilim
Copy link
Author

!! NOTE !!
Also you can't remove the service if you install my service with a Parameter
You need to delete it from registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant