IIS + Url Rewrite installation

Hello,
In my dockerfile i use microsoft/aspnet where i want install Url Rewrite 2.0 but I got error.
Dockerfile:
FROM microsoft/aspnet

RUN msiexec.exe /i c:/Site/rewrite_amd64.msi /passive

Error:
T h i s i n s t a l l a t i o n p a c k a g e c o u l d n o t b e o p e n e d . V e r i f y t h a t t h e p a c k a g e e x i s t s a n d t h a t y o u c a n a c c e s s i t , o r c o n t a c t t h e a p p l i c a t i o n v e n d o r t o v e r i f y t h a t t h i s i s a v a l i d W i n d o w s I n s t a l l e r p a c k a g e .
The command ‘cmd /S /C msiexec.exe /i c:/Site/rewrite_amd64.msi /passive’ returned a non-zero code: 1619

What is the correct way to install Url Rewrite (https://www.iis.net/downloads/microsoft/url-rewrite)?
Thank you

ok, it is
RUN msiexec /i C:\Site\rewrite_amd64.msi /quiet /qn /passive

Resolved.

1 Like