cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
yanivna
Level 4

Help , i need run script before the first UI

Hi all :confused:
i waht to write some valu in the registry before any UI is on ,
my problem is that : if my user press ESC or Cansel in the Preparing windows
the installer give the option to exit and OnEnd() dont call.

Please Help ?
Thanks
Yaniv
Labels (1)
0 Kudos
(5) Replies
Happy_Days
Level 7

I dont think you can execute your code while the "Preparing for windows..." dialog is displayed. However, you can use OnBegin event function for the tasks before Welcome dialog is displayed assuming this is InstallScript project.
0 Kudos
Egghead
Level 3

Happy Days wrote:
I dont think you can execute your code while the "Preparing for windows..." dialog is displayed. However, you can use OnBegin event function for the tasks before Welcome dialog is displayed assuming this is InstallScript project.


hmm, If it is a msi project, I believe it works with custom action.
0 Kudos
Happy_Days
Level 7

If its an MSI project, you dont even need write code in OnBegin event function. You can create a custom function and call it from Custom Action which can be Sequenced before the Welcome dialog in the UI Sequence!
0 Kudos
yanivna
Level 4

Hi all
i must to write on the registry the status of my installer
whan the installer UI started before the welcome UI i have a Preparing UI (this is installshield UI) in this windows the client can press exit or cancel and i need to catch this action and write it on the registry this is the problem

Thanks for the help
Yaniv :confused:
0 Kudos
Happy_Days
Level 7

I just replied to your private message, please check it.
0 Kudos