i am not including notepad.exe in my project.
here is what i have done:
i have made 2 custom actions both of
Type Binary_table.
In the binarytable, 1st custom action :
Source: <systemfolder>
otepad.exe
Target: [INSTALLDIR]\README.TXT
and 2nd one points to:
Source: <windowsfolder>
otepad.exe
Target: [INSTALLDIR]\README.TXT
Then i call these 2 custom actions in OK button of SetupCompleteSuccess dialog box based on conditions of OS (pl see my earlier post for this).
If i compile the project on win98 and run setup it runs fine and opens the readme.txt but if i compile on winNT or win2000 and then run it on win98 (or win95) it gves "illegl program termination" error (if "Show me readme file" checkbox is checked on SetupCompleteSuccess dialog box)
I am using Installshield Professional Windows Installer 2.0.
Please advice..
Note: Before compiling the project (on winNT) i needed to copy a notepad.exe in windowsfolder