QuickLib icon indicating copy to clipboard operation
QuickLib copied to clipboard

Quick.AppService Starting with Param

Open fintechyazilim opened this issue 4 years ago • 2 comments

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 avatar Feb 22 '21 23:02 fintechyazilim

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 avatar Feb 23 '21 09:02 fintechyazilim

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

fintechyazilim avatar Feb 23 '21 09:02 fintechyazilim