From customer's email:
"Hello!
...
I'm finally getting somewhere and think that my .msi is ready to go, except that the UWS.RegApp.exe Custom Action keeps placing quotation marks (") in the wrong place in my arguments and registration fails. I've tried variations and the quotes keep showing up in different incorrect places in the error message. I can't tell if this is something wrong with my argument, or with the error message, because, as you can see below, the non-existent directory in the error does not match the quoted command line string in the error.
Please advise. Thanks! :)
Example Custom Action Install Registration Argument:
/s "[ProgramFilesFolder]UltiDev\Web Server\UWS.RegApp.exe" /r /AppID="[UpgradeCode]" "/path:[ProgramFilesFolder]UltiDev\Websites\MyApp" /vdir:"/" /bypass /anonymous /impersonate /compress /listenendpoints=http://127.0.0.1:xxxxx/
Yields the Error Message:
Failed to register or unregister application due to "System.ApplicationException: Directory "C:\Program:" does not exist.
at UWS.WinUICommons.DirPathCmdLineParam.ConvertValue(StingparsedValue)
at UWS.WinUICommons.CommandLineHelper.ProcessCommandLineParams(ICollection `1 additionalKnownParams, ICollection `1 default Paramters)
at UWS.RegApp.Program.DoIt(Dictionary `2& pBag)
at UWS.RegApp.Program.Main(String[] args)".
Command line:
"C:\Program Files (x86)\UltiDev\Web Server\UWS.RegApp.exe" /r /AppID={upgrade code here}/path:C:\Program Files "(x86)\UltiDev\Websites\MyApp /vdir:/ /bypass /anonymous /impersonate /compress /listenendpoints=http://127.0.0.1:xxxxx/"
------------------------"
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.