Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Problem with path and quotes during app registration
Ultidev Team
#1 Posted : Saturday, June 14, 2014 12:56:36 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
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.
Ultidev Team
#2 Posted : Saturday, June 14, 2014 12:58:56 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi,

we suspect it may work if
"/path:something"
is replaced with
/path:"something"

Please let us know if this helped.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#3 Posted : Monday, August 25, 2014 12:20:39 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#4 Posted : Monday, August 25, 2014 8:32:04 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#5 Posted : Monday, August 25, 2014 5:47:28 PM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#6 Posted : Tuesday, August 26, 2014 12:06:58 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#7 Posted : Tuesday, August 26, 2014 1:34:23 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#8 Posted : Tuesday, August 26, 2014 2:21:55 PM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#9 Posted : Sunday, September 21, 2014 12:56:20 PM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#10 Posted : Monday, January 8, 2018 8:47:57 PM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#11 Posted : Friday, March 30, 2018 7:43:42 PM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#12 Posted : Thursday, June 14, 2018 8:10:38 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.