Creating a Installer for regasm.exe

Common questions about using Actual Installer.
Post Reply
ajay
Posts: 8
Joined: Fri Oct 11, 2013 5:12 pm

Creating a Installer for regasm.exe

Post by ajay »

HI,

I want to create a installer for following.

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm.exe "abc.dll" /tlb:abc.tlb /codebase
pause

Currently, I have this in a txt file and I just run this file as Administrator.

I then run following to uninstall:

c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm.exe -u "abc.dll" /tlb:abc.tlb /codebase
pause

How can I create a installer for the same? Can you please let me know steps?

Thanks,
Ajay
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Creating a Installer for regasm.exe

Post by Leo »

Hi Ajay,

Use the System \ Commands page like this:

Code: Select all

Command: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\regasm.exe
Parameters: "<InstallDir>\abc.dll" /tlb:abc.tlb /codebase
Launch: After Installation
There is also an option "After Uninstallation" for second task.
Leo,
Actual Installer Team
https://www.actualinstaller.com
ajay
Posts: 8
Joined: Fri Oct 11, 2013 5:12 pm

Re: Creating a Installer for regasm.exe

Post by ajay »

Hi Leo,

I tried this but it seems it doesnt work. I can try again. The field "BeforeInstallation" and "After Installation" is to when to execute this command.

But For uninstall, I want to run the command I ran to run the uninstall command and how is that possible to schedule some command when uninstall happens.

With Regards,
Ajay
Post Reply