Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Customer logo - Help please


1 reply to this topic

Angelica

Angelica
  • Members
  • 8 posts

Posted 07 May 2002 - 23:23

Currently, this is our install method. All our company's LOGO bitmaps and images are compiled in our APP.exe
Install script picks up the APP.exe and other necessary files and creates the setup.exe

Change reqd is as follows:

The companies who install our product want to have THEIR logo and bitmaps in the respective places.
We ripped apart our APP.exe and separated the .bmp's.
I have to make the setup script GENERIC so that,  during installation, I ask for the company's name.
Store this info in an .ini format file. Accordingly, I have to ask for their bitmap files and FIT them in my product's installation.

Is this possible? If so, help needed, time critical for delivery.

In the setup script, I can ask for company name using SdAskDialog or relative IS6 funtion.
Next step on, I'm blank. I am unable to come up with a solid solution in its entireity.
Help please. I am currently using IS6.2

Thanks in advance,
Angelica:-)

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

Posted 08 May 2002 - 14:51

For storing that info. in an INI format, here's some sample code:

 OpenFileMode(FILE_MODE_APPEND);
 CreateFile(nvFileHandle, TARGETDIR ^ "\\BIN", szFile); // OVERWRITE EXISTING FILE
 szText = "[Logo]";
 WriteLine( nvFileHandle, szText );
 szText = "Company = "+szCompany;
 WriteLine(nvFileHandle, szText);
 szText = "";
 WriteLine(nvFileHandle, szText);
 CloseFile(nvFileHandle);

Hopefully this will get you going.
user posted image