Jump to content


Photo

ISAPI deployment with in place DLL replacement.


  • Please log in to reply
17 replies to this topic

#1 CastleSoft

CastleSoft

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 153 posts

Posted 19 September 2014 - 07:44 AM

I thought this might be handy for anyone with an IIS box that needs to update a UniGUI ISAPI dll and not STOP/START the IIS Webservice.

 

Attached is an ISAPILoader.zip file containing the Delphi Source code + Binaries. (source is google).

 

Its easy to use.

 

1) Grab the NON_DEBUG and rename it to the name you like.   (ie..      MySuperApp.dll  )

2) Rename your UNIGUI DLL to the same name with a .RUN extension.   (ie..    MySuperApp.run  )

 

At this point deploy as normal. The ISAPI Loader will load the .RUN file.

 

Now to upgrade the UNIGUI ISAPI DLL, simply place your app with a .UPDATE extension.  (ie.    MySuperApp.update)

 

In < 10 secs it will see the update, unload the old version. Rename the .run file as .backup and rename the .update to .run

 

No requirement for Stopping/Starting the IIS Service to unload the DLL.

 

Andrew

 

Click here for the ISAPILOADER.zip


  • 3

#2 rsanford

rsanford

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts
  • LocationHouston, Texas, USA

Posted 19 September 2014 - 08:14 PM

Thank you!


  • 0

#3 billyChou

billyChou

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 121 posts

Posted 20 September 2014 - 12:05 AM

Thanks .


  • 0

#4 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 338 posts
  • LocationNova Mutum - MT - Brasil

Posted 20 September 2014 - 10:17 PM

thanks for sharing :) 


  • 0

#5 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 20 September 2014 - 10:42 PM

Thanks for sharing. Actually in IIS you dont need to start stop the service. Recyclying the app pool is enough. Anyway, doing it using your proposed tool seems to be lot easier.
  • 1

#6 Anthoni

Anthoni

    Member

  • Members
  • PipPip
  • 34 posts
  • LocationLeeds

Posted 21 September 2014 - 08:59 AM

Recyclying the app pool is enough

Can you explain how to do this please ?


  • 0

#7 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 21 September 2014 - 11:58 AM

Can you explain how to do this please ?

 

Open IIS manager. Go to Application Pools.

Select the Application Pool which runs your uniGUI app.

Press Recycle.


  • 0

#8 irfan r

irfan r

    Newbie

  • Banned
  • Pip
  • 2 posts

Posted 06 November 2014 - 04:28 AM

The Original share is gone..


  • 0

#9 zilav

zilav

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 451 posts

Posted 06 November 2014 - 06:54 AM

http://www.eggcentri...isapiloader.htm


  • 0

#10 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 300 posts
  • LocationCuiabá-Brasil

Posted 11 July 2016 - 11:59 PM

Hello
I'm testing ISAPI Loader and I came across a problem that I do not understand.
If squeegee normal isapi application, it runs quietly. However when I try to run using the ISAPI Loader it downloads the application and does not run.
The folder where is the application is released with all rights.
I'm testing a windows server 2008 R2 server.
 
I tested on a windows machine 8.1 and worked quietly, just in windows server 2008 could not result.
 
Could you help me?
Tanks

  • 0

#11 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3475 posts

Posted 12 July 2016 - 09:03 AM

Hi,

 

Can you check,
did you install unigui extjs runtime on your server ?


  • 0

#12 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 12 July 2016 - 10:16 AM

Hi,

 

What is "ISAPI Loader" in the first place?


  • 0

#13 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 300 posts
  • LocationCuiabá-Brasil

Posted 12 July 2016 - 10:28 AM

Hi,

 

What is "ISAPI Loader" in the first place?

http://www.eggcentri...isapiloader.htm


  • 0

#14 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 300 posts
  • LocationCuiabá-Brasil

Posted 12 July 2016 - 10:31 AM

Hi,

 

Can you check,
did you install unigui extjs runtime on your server ?

 

With my application built on isapi, already operates normally. Is downloaded only use the method described in this post, isapiloader to update the .dll. It seems anything related to security on windows server 2008, as in my local machine on the local IIS server, the update works.


  • 0

#15 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 12 July 2016 - 12:10 PM

We have not checked uniGUI DLL compatibility with this tool yet.


  • 0

#16 herculanojs

herculanojs

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 300 posts
  • LocationCuiabá-Brasil

Posted 12 July 2016 - 12:17 PM

In tests we conducted in an environment with Windows 8.1 and IIS ran smoothly.
Only in windows server 2008 r2 is that when running the browser, it downloads the inves to run the application.
I saw in some forums someone talking about ISAPI safety criteria, but all I could find to grant permission in IIS I ever did.

  • 0

#17 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 9829 posts

Posted 12 July 2016 - 05:29 PM

It is because "run" it is not recognized as a registered module format in IIS.


  • 0

#18 WildFrag

WildFrag

    Member

  • Members
  • PipPip
  • 25 posts

Posted 14 July 2016 - 12:59 PM

works fine, without problems


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users