Installer won't register .WSC file
My project needs a Windows Scripting Component (.wsc) to be registered. No problem getting .dll's to register, but stuck on this. End users can manually register the .wsc file after installing the package (using regsvr32 or R-click file and select "register"), but we need the installer to register. Using Wise for Windows Installer 5.0 Pro (its for an old VB6 package).
Can't figure out how to get the .WSC file to register. Any help much appreciated...
Tried: File Details | Self-registration |
Registration Method=Unordered (normal Windows behavior) and
Registration Method=Use order specified below
Tried custom action: "Execute Program From Destination" specifying INSTALLDIR as the working directory and for EXE and Command Line I have: regsvr32.exe myfile.wsc
Alternative will be to create a .dll, but trying to keep it simple.
Many thanks in advance if you can give some advice... EpiD