Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

SMTP and Installshield Express

Hello.

I used TSMPT in my program.
And I made install disks by Instalshield Express.
But I couldn't run the application on other pc.
Please teach me how to use Installshield Express.

p.s.
I know that TSMTP is Active X.
 
0
sakya
Asked:
sakya
1 Solution
 
BoRiSCommented:
sakya

this information is taking from http://support.installshield.com/kb/default.asp?action=Display&documents_id=651

All editions of InstallShield Express automatically register any .dll, .exe and .ocx file containing the "OLESelfRegister" string in the version
                    resource.

                    Note: The 1.1 version of InstallShield Express Professional will also check .olb files for the "OLESelfRegister" flag.

                    You can check to see if a third-party .ocx or .dll file contains this resource by opening the .dll or .ocx file using Borland Resource Workshop or
                    MSVC++ and then checking the `Version Information` resource for the following value:

                    VALUE "OLESelfRegister", "\0"

                    To include this resource in your own DLLs, create an extra string value field in the version resource for the .dll/.ocx file. This value should have
                    the name OLESelfRegister. The data for this value is ignored and can be set to "".

                    MSVC++ does not currently allow you to add a new value field to the `Version Information` resource. If you are using MSVC++, you will need to
                    add this value directly to the .RC file for your project. You can use any convenient text editor to edit this file and add OLESelfRegister to the
                    existing values in the .RC file. Make sure you rebuild your .dll/.ocx file after making this change.

                    After you add this string, the version information block will look something like this:

                      /////////////// Begin sample

                      VS_VERSION_INFO VERSIONINFO
                      FILEVERSION 1,0,0,1
                      PRODUCTVERSION 1,0,0,1
                      FILEFLAGSMASK 0x3fL
                      #ifdef _DEBUG
                      FILEFLAGS 0x1L
                      #else
                      FILEFLAGS 0x0L
                      #endif
                      FILEOS 0x40004L
                      FILETYPE 0x2L
                      FILESUBTYPE 0x0L
                      BEGIN
                      BLOCK "StringFileInfo"
                      BEGIN
                      BLOCK "040904b0"
                      BEGIN
                      VALUE "CompanyName", "InstallShield\0"
                      VALUE "FileDescription", "RESDLL\0"
                      VALUE "FileVersion", "1, 0, 0, 1\0"
                      VALUE "InternalName", "RESDLL\0"
                      VALUE "LegalCopyright", "Copyright _ 1996\0"
                      VALUE "OriginalFilename", "RESDLL.dll\0"
                      VALUE "ProductName", "InstallShield RESDLL\0"
                      VALUE "ProductVersion", "1, 0, 0, 1\0"
                      VALUE "OLESelfRegister","\0"
                      END
                      END
                      BLOCK "VarFileInfo"
                      BEGIN
                      VALUE "Translation", 0x409, 1200
                      END
                      END
                      /////////////// End sample


                    With InstallShield Express2 and Express Professional, you can manually add the following section to the Swdepend.ini file used for the
                    installation:

                    [DLLNAME.DLL]

                    Register=$(DLLSelfRegister)

Later
BoRiS
0
 
sakyaAuthor Commented:
Thanks a lot, BoRis.

I can success installation.

Arigatou.

Sakya
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now