Installer

The latest version of the UOAI library and all directly related information can be found in this forum.

Installer

Postby Cear on Thu Mar 05, 2009 2:42 am

Ive got a bunch of people who wanna try my app so im working on an installer for it that includes the UOAI library.
During the UOAI setup i copied all the files and locations the files are sent too. and mimic them with my installer.
but my app still crashes when i start it up.
any idea why? when i run the set up from the library all works fine.

BTW, any idea when the next version will be up?



Loveing UOAI,

Cear
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby Boydon on Thu Mar 05, 2009 9:35 am

Do you register the UOAI libraries?
Only copying files is not enogh.

Anyway there should be the source of the NSIS installer provided with the installation.
Look at it to know what the istallation do. :)
Boydon
Coder
 
Posts: 10
Joined: Tue Nov 25, 2008 4:12 pm

Re: Installer

Postby Cear on Fri Mar 06, 2009 3:03 am

so i need to write into the registery all of the things the installer does and I should be good?
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby Cear on Fri Mar 06, 2009 4:21 am

Cear wrote:so i need to write into the registery all of the things the installer does and I should be good?

Diddnt work :(
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby xenoglyph on Fri Mar 06, 2009 5:43 am

What he means is use regsvr32 on the dlls.

Also, if you don't want to look at the installer source I'd recommend using RegShot (http://www.czechcup.com/regshot/index.php) to track the registry changes. I haven't actually looked at UOAI entries, but sometimes there are some obscure ones that are impossible to find without a logger.
xenoglyph -- UO Machine Developer
xenoglyph
Coder
 
Posts: 44
Joined: Wed Nov 19, 2008 8:30 pm

Re: Installer

Postby Cear on Fri Mar 06, 2009 7:21 am

Swell, so all i need to do is have the installer target regsvr and target UOAI.dll and UOClient.dll ?
thats alot easier then what i was going to do next
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby Cear on Sat Mar 07, 2009 2:04 am

Both regsvr32 and regasm cant register UOAI or UOClientDll.....doubleyoutee ef?
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby Cear on Sat Mar 07, 2009 4:07 pm

Cear wrote:Both regsvr32 and regasm cant register UOAI or UOClientDll.....doubleyoutee ef?

regsvr32:
UOAI was loaded, but the dllRegisterServer entry point was not found.
UOAI does not appear to be a DLL or OCX file
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby Cear on Sat Mar 07, 2009 7:48 pm

Regsvr wont touch UOAI.dll or UOClientDll.dll.
UOAI.exe /RegServer works but only if ive already used the uoai installer hosted here.
regtlibv12 will register the two .TLB files fine.

will registering the right things write the registery keys or will i have to do that as well?
Id really like to have an all in one installer for my program. just wanna know what im doing wrong.
the install log is kinda hard to read.
Cear
Coder
 
Posts: 49
Joined: Thu Jan 29, 2009 4:07 am

Re: Installer

Postby xenoglyph on Mon Mar 09, 2009 9:32 pm

Registering will install the entries for you if that's been implemented in the libraries. It sounds like you've discovered that it's not.

If you can't figure out how to mimic/replicate the installation then maybe you should just direct people to this site and have them install it on their own. I think most developers would prefer that anyways, because that way people always install the latest version.
xenoglyph -- UO Machine Developer
xenoglyph
Coder
 
Posts: 44
Joined: Wed Nov 19, 2008 8:30 pm

Next

Return to UOAI Developers Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron