1) Created a function in Setup.rul called RemoveOldServiceKeys().
2) Created an "export prototype" statement for the function.
3) Compiled Setup.rul to make sure my syntax was correct.
4) Right-clicked on "Custom Actions" and chose "New".
5) Named my action "RemoveOldServiceKeys".
6) Right-clicked on my newly created custom action and chose "Custom Action
Wizard..."
7) Wizard appeared. On first dialog, I added a comment and clicked "Next >"
8) On second dialog I chose "Run InstallScript code". Location option was
grayed out. Then clicked "Next >"
9) On third dialog, I chose RemoveOldServiceKeys from the drop-down. Target
option was grayed out. Then clicked "Next >".
10) On fourth dialog, left everything at default settings (Wait for action
to finish executing, ignore return code, Execute immediately, always
execute), then clicked "Next >".
11) Clicked "Finish". Custom action was created, with Type 65536, Source
listed as "RemoveOldServiceKeys", and Target empty.
12) Clicked on "Sequences". Went to "Execute" sequence under
"Installation".
13) Right-clicked on "Execute" and chose "Insert..."
14) Chose "Custom Actions" in the drop-down. Found my action in the list,
highlighted it and clicked OK.
15) Positioned my action in the right part of the execute sequence.
16) When I build though, I get the following error:
** Error -1024: File RemoveOldServiceKeys not found. Cannot stream the file
into the Binary table
It's obviously thinking that my action is actually an external executable.
Please tell me what I am doing wrong. It seems like I'm following all the
logical steps exactly! I'm very new to InstallShield, so I'm hoping one of
you experts will have run into this problem before.
Thanks in advance for your time!
Sincerely,
Carl Youngblood
Software Engineer
Legato Systems, Inc.
801-437-8187
have a look at the Binary Table with the Power Editor, and I'm sure, one
these entries has a wrong Data value.
Especially this one with Data value "RemoveOldServiceKeys".
How this entry was created, I don't know.
Delete this entry.
Regards!
Johannes
"Carl Youngblood" <cyou...@legato.com> schrieb im Newsbeitrag
news:3be837de$1...@news.installshield.com...