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

Run WiseScript after install


1 reply to this topic

markos

markos
  • Members
  • 2 posts

Posted 05 September 2002 - 08:37

I looked for the answer for this question at newsgroups, knowledgebase and internet. Nothing helped.

I am usling Wise for Windows 4.2. At the end of my installation (after installing all files) I want to have a dialog box with button. If user clicks this button wise scrip should run.
- I placed a new dialog after ExecuteAction
- I created Custom Action with "no Sequence", In-Script Options "Defferred Executino - User Context" and processing to "Synhronous, Ignore exit code".
- I add publish event to the button with event DoAction etc.

But if user click on the button I get error 2762 (Cannot write script record. Transaction not started). I tried all kind of variations of setting and nothing works.

Please help me. I am really desperate.

Sincerely,

Marko Strukelj
markos@datalab.si
Datalab d.o.o.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 06 September 2002 - 17:17

Deferred custom actions can only be inserted in the Execute sequence, between InstallInitialize and InstallFinalize.
You will have to change the type to Immediate, or if you need a Deferred action put it in the mentioned place in the sequence.