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
Creating a Installer for regasm.exe
Re: Creating a Installer for regasm.exe
Hi Ajay,
Use the System \ Commands page like this:
There is also an option "After Uninstallation" for second task.
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
Re: Creating a Installer for regasm.exe
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
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