Re: [WiX-users] RegAsm in Wix

2008-04-24 Thread Jaco Pretorius
Thanks, it worked!

 

I just had a look at the registry – the installlocation was being set 
correctly, but I had the wrong assembly version in there.  I was just being a 
dumbass.

 

Thanks for the help!

 

From: Jim Williams [mailto:[EMAIL PROTECTED] 
Sent: 23 April 2008 19:34
To: Jaco Pretorius; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] RegAsm in Wix

 

My best guess here would be, after installation, to check the registry using 
regedit to see that the value of the property INSTALLLOCATION had the proper 
value for the path to the DLL substituted.  Or you could try replacing the 
file:///[INSTALLLOCATION]TAScriptAPI.dll entries with a reference to the actual 
WiX file id [#ScriptDll] (including the square brackets) and see if that works.

Jim 

   _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jaco Pretorius
Sent: Wednesday, April 23, 2008 8:46 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] RegAsm in Wix

 

Hello

 

I’m trying to register an assembly for com interop.  I used the magic of tallow 
to create a fragment which seems to take care of all the registry entries.

 

The fragment looks something like this:

 

  

   

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

I just had to include the tlb file, which is used to reference against, but is 
not used at run-time, just compile-time.

 

I ran regasm and had it output to a .reg file and compared all the entries – 
they matched up.  So it should be all good.  The only problem is, it doesn’t.  
If I install and try and use the COM object it doesn’t work. If I run regasm on 
my dll it works again.  So as far as I can tell regasm does something else 
apart from only the registry entries.  Am I wrong here?

 

I tried to put a typelib entry inside the File tag for my dll, but that just 
caused the installer to fail.  I’m not even sure that I should be use the 
typelib tag.

 

Thanks in advance

Jaco

 

 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.3/1390 - Release Date: 21/04/2008 
16:23

 

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.3/1390 - Release Date: 21/04/2008 
16:23


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.3/1390 - Release Date: 21/04/2008 
16:23
 
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] RegAsm in Wix

2008-04-23 Thread Jaco Pretorius
Hello

 

I’m trying to register an assembly for com interop.  I used the magic of tallow 
to create a fragment which seems to take care of all the registry entries.

 

The fragment looks something like this:

 

  

   

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

I just had to include the tlb file, which is used to reference against, but is 
not used at run-time, just compile-time.

 

I ran regasm and had it output to a .reg file and compared all the entries – 
they matched up.  So it should be all good.  The only problem is, it doesn’t.  
If I install and try and use the COM object it doesn’t work. If I run regasm on 
my dll it works again.  So as far as I can tell regasm does something else 
apart from only the registry entries.  Am I wrong here?

 

I tried to put a typelib entry inside the File tag for my dll, but that just 
caused the installer to fail.  I’m not even sure that I should be use the 
typelib tag.

 

Thanks in advance

Jaco

 


No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.3/1390 - Release Date: 21/04/2008 
16:23
 
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Starting a service after install

2008-02-14 Thread Jaco Pretorius
Hello

 

I am trying to install a very simple service and then start the service.
The first part works fine, the latter part fails with the message
"Verify that you have sufficient privileges to start system services.".

 

The xml that I am using looks like this:

 

  









  

 

StartServices: Service: ProjectName Scheduler

Error 1920. Service ProjectName Scheduler' (Scheduler.exe) failed to
start. Verify that you have sufficient privileges to start system
services.

MSI (s) (3C:30) [16:57:54:991]: Product: ProjectName -- Error 1920.
Service ' ProjectName Scheduler' (Scheduler.exe) failed to start. Verify
that you have sufficient privileges to start system services.

 

Any ideas?

 

Regards

Jaco Pretorius

 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users