KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Is KF.NET MSI re-registering the KF.NET object?

 
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion
View previous topic :: View next topic  
Author Message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Wed Aug 22, 2007 12:51 am    Post subject: Is KF.NET MSI re-registering the KF.NET object? Reply with quote

I went over to ASE forums to figure out the issue I was having with the latest releases of KF.NET.

Basically, FileSystemWatcher was not showing up in ASE's ScriptSense.

Steve kindly instructed me to execute this command:

Code:

regasm.exe /tlb /codebase c:\windows\system32\kixforms.system.dll


And lo and behold, FileSystemWatcher showed up in ScriptSense.

I have several releases of .NET Framework versions installed on my XP Pro box.

v1.0.3705
v1.1.4322
v2.0.50727

Is there something in the .MSI that's not somehow re-registering the KF.NET object? I'm clueless in how exactly MSI's work with regasm, etc.

Thanks.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Aug 22, 2007 1:17 am    Post subject: Reply with quote

Hi pearly man. I asked Steve a follow-up question over on ase. To the best of my knowledge, the msi *should* re-register the dll every time. I'm not an msi guru either.
Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Wed Aug 22, 2007 6:22 pm    Post subject: Reply with quote

Maybe we can have Lonk to insert the piece of code to re-register the KF.NET object for safety measure?
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Wed Aug 22, 2007 11:19 pm    Post subject: Reply with quote

I would like to use another packager. I tried it once, but could not find a reliable way to "find" regasm.exe on different platforms - with different versions of dotnet installed.

If there was way, could prolly add a custom step in the msi to register it. Anyone know of a way, pearly ? stevie ?
Back to top
View user's profile Send private message
pearly
KiXforms Aficionado
KiXforms Aficionado


Joined: 27 Jan 2004
Posts: 332

PostPosted: Thu Aug 23, 2007 12:13 am    Post subject: Reply with quote

How are you packaging the msi currently? Again this is new to me, so I'm reading up on me now.
Back to top
View user's profile Send private message
Mart
KiXforms Regular
KiXforms Regular


Joined: 03 Oct 2005
Posts: 57
Location: Rotterdam - Netherlands

PostPosted: Thu Aug 23, 2007 2:09 am    Post subject: Reply with quote

Took a quick look at that.

Weird thing is that it is not in .net 1.0 and 3.0 but it is in .net 1.1.4322 and 2.0.50727. The one in 2.0.50727 is almost twice the size it is in 1.1.4322. Hmmmmmm...... tricky one.

Best would be to place it in good old C:\WINDOWS\system32 imho just like regsvr32. Maybe naming it with a version number like regasm1.exe for .net 1, regasm2.exe for .net2 or something so .net 1 and .net 2 can still coexist on the same system. MS has some work todo imho.

_________________
Mart

- He's chained forever to a world that's departed.....It's not enough, it's not enough - Sorrow by Pink Floyd.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Aug 23, 2007 2:43 am    Post subject: Reply with quote

Thanks Mart and Pearly yeah thats what I found too. And I found there isn't a generic version of regasm for each dotnet version. ie, you cant register a 2.0 assembly with a 1.x regasm. I agree, its weird.

I'm currently using the built-in vs2005 msi packager - that seems to know (and has builtin) all this regasm stuff. Maybe one could examine the msi with orca or something and reverse-engineer the magic.
Back to top
View user's profile Send private message
masken
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 14 Mar 2003
Posts: 202
Location: Gothenburg, Sweden

PostPosted: Thu Aug 23, 2007 10:16 am    Post subject: Reply with quote

Why not just include it in the MSI as a temporary file? Use it under install then self-delete?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> KiXforms.NET Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group