Hi IsImike
Try it this way
#RequireAdmin
Run(@ComSpec & " /c C:\Windows\SyswWOW64\Regsvr32 C:\BIZPlanning\photos\csImageFile\csImageFile.dll", "", @SW_HIDE)
#RequireAdmin
ShellExecute(@ComSpec, "/c C:\Windows\SyswWOW64\Regsvr32 C:\BIZPlanning\photos\csImageFile\csImageFile.dll", "open", "", @SW_HIDE)
Kind regards
Wilcop