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

Notification

Icon
Error

(Un)register multiple applications
maracus2
#1 Posted : Monday, July 13, 2015 9:48:44 AM(UTC)
Groups: Member
Joined: 7/13/2015(UTC)
Posts: 5

I'm using UltiDev in combination with Installshield (2013 limited edition) and i'm using the Custom Actions to register and unregister the webapplication.
In my project I'm using two separate web applications, which I'm trying to register. Following the examples on this forum I used the Starter.exe for this.
For each webapplication I created a separate Custom Action. However when running the setup, only ONE actually gets installed.
I've worked around that by creating a small console application which uses the .NET api of UltiDev to register both webapplications (and a couple other things), which works like a charm.

On Uninstall however I can not run a console app, since in the Limited Edition of Installshield only the 'After System Changes' Custom Action is available.
So I'm using the Starter.exe method like in the samples. The same issue arises here: only one of the two applications gets unregistered. What am I doing wrong?

My two Custom Actions on "After System Changes":

- Starter.exe "[ProgramFilesFolder]UltiDev\Web Server\UWS.RegApp.exe" /u AppID:55793837-64F6-4313-988B-03A8273DC60D
- Starter.exe "[ProgramFilesFolder]UltiDev\Web Server\UWS.RegApp.exe" /u AppID:7AF4A5A6-FFE1-4BFD-82EA-5D5510819F1C
maracus2 attached the following image(s):
maracus2 attached the following image(s): UWS-CustomActions.png
maracus2 attached the following image(s): UWS-CustomActions-2.png
Ultidev Team
#2 Posted : Friday, July 17, 2015 9:52:06 AM(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 there!

Sorry for the delayed reply. We would like to figure out why only one of the applications gets registered.

To help understanding what UWS is doing, please take a look Windows Event Log (Application). Every time UWS application is registered or unregistered, UWS writes out several useful information events, showing which applications it's loading.

To help you with that, would you mind attaching following two files to you reply:
- C:\Program Files (x86)\UltiDev\Web Server\AppRegTrace.txt
- c:\ProgramData\UltiDev\WebServer\UWS.Configuration.xml
- EVTX file exported from Windows Event Log. We recommend cleaning it up, reproducing the problem, and then exporting content into EVTX - this will ensure only relevant event log items are in the log.

Based on this information we will try to create a setup project that registers two applications using IS 2013 LE and see if we can reproduce the problem. It will require approximately a week to do this though.

The "C:\Program Files (x86)\UltiDev\Web Server\AppRegTrace.txt" should show whether UWS made an attempt to register an app or not. You may delete this file at any time to have fewer entries there.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
maracus2
#3 Posted : Monday, July 20, 2015 3:41:26 AM(UTC)
Groups: Member
Joined: 7/13/2015(UTC)
Posts: 5

No problem, thanks for looking into this.

I attached the requested files. For testing purposes I now use the commandline commands at install instead of the .NET API.
These are my Custom Actions at 'After Register Product':

Starter.exe "[ProgramFilesFolder]UltiDev\Web Server\UWS.RegApp.exe" /r AppID:55793837-64F6-4313-988B-03A8273DC60D /url=http://*:80,http://*:0/ "/path:[INSTALLDIR]Web" Clr:2 /vdir:Naveon
Starter.exe "[ProgramFilesFolder]UltiDev\Web Server\UWS.RegApp.exe" /r AppID:7AF4A5A6-FFE1-4BFD-82EA-5D5510819F1C /url=http://*:80,http://*:0/ "/path:[INSTALLDIR]WebApi" Clr:4 /vdir:NaveonAPI

The requested files are attached below.

Best regards,
Marc
File Attachment(s):
UWS.Configuration.zip (2kb) downloaded 104 time(s).
AppRegTrace.txt (2kb) downloaded 114 time(s).
install_uninstall_ultidev_sites.zip (6kb) downloaded 102 time(s).
Ultidev Team
#4 Posted : Tuesday, July 21, 2015 12:54:06 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)
Thank you.

We will try to analyze the data and provide the feedback by the end of the week.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#5 Posted : Sunday, July 26, 2015 7:36:35 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 there!

We have researched this issue and it appears to be one that we solved about a year ago for another user. Please take a look at this post:
http://ultidev.com/forum...om-action.aspx#post4906

Please let us know if this has solved the problem.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
maracus2
#6 Posted : Monday, August 3, 2015 8:12:36 AM(UTC)
Groups: Member
Joined: 7/13/2015(UTC)
Posts: 5

Thanks for the help. That did fix the problem!

Maybe it's a good idea to update the other tutorials as well, like the one for InstallShield: http://ultidev.com/Forum...-with-InstallShield.aspx
Ultidev Team
#7 Posted : Monday, August 3, 2015 12:55:13 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)
Thank you for pointing out the gap in our documentation. We'll fix it.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#8 Posted : Wednesday, August 19, 2015 6:37:51 AM(UTC)
Groups:

Message was deleted by a Moderator.
Guest
#9 Posted : Wednesday, February 28, 2018 2:50:43 PM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
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.