I have an AI 9.2 project which once executed, sometimes creates an entry into the \Software\Windows\Current Version\Run registry entry to finish the installation when the computer reboots. This is acceptable.
But sometimes, AI creates a task in the Windows Task Scheduler to do the same action.
But sometimes, AI creates a task in the Windows Task Scheduler to do the same action. Can I avoid this? How?
For example on Windows 7 OS the scheduled task gets created to perform an elevated reboot. Unfortunately I'm unaware how to disable the behavior.
I'm going to send an e-mail to the developer responsible for this part of the project so he can share some insight. He's currently on vacation but I'll get back to you on this thread after I get an answer.
I discussed the issue with our development team and unfortunately this is the only way to perform an elevated reboot. There's no reason to disable the mechanism because it would mean to suppress the elevated reboot functionality.
My application installs a lot of files, executes other EXE programs as prerrequisites, installs some font files, registers some ActiveX DLL and EXE files and also registers some .NET components.
The problem I found is when my application is installed, and by my bussiness rules I detected that an automatic repair operation is needed, due to the installation of another application older than the installed application, and which forces the installation and registry of an older ActiveX component in another directory, for example. This is because we are in a complex migration proces affecting eleven applications, and some of them can be not updated from a lot of time and have an old installation strategies and some old components.
Then, sometimes (and only sometimes) a registry entry or a scheduled task is created, but I don't know why! Yes, I can see the LOG file, but I can't find which file or operation produces this behavior, resulting I don't know when and why this occurs.
As I'm (very) sure all files are correctly installed, I whish the application installation don't resumes when the PC is rebooted. It is easiest for me to tell the customer to manually repair if he/she has a registry problem.
FOLLOW US
Get the latest news in Application Packaging