Hi Shiva,
However, you can implement this behavior yourself from within a custom action. When a schedule task is created in the “Task Scheduler” list, it is added in the C:\Windows\System32\Tasks folder and has a .xml format. You can change the true attribute from DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries> with the false attribute.
Thanks for suggestion. Can i have a custom action for modifying this .xml file from the installer. I need to deliver this installer to customers.
Unfortunately we don't have any custom actions examples which implements this functionality. You can take a look on
Task Scheduler Interfaces article and also you can find out more about
DisallowStartIfOnBatteries element of the Task Scheduler schema.
And also i want to add a custom message to "action text" on progress dialog like "Creating a system restore point" when installation progress bar starts. How can i set this?
The ActionText static text on the ProgressDlg usually shows the description of the currently running action. On the Custom Actions page, select your custom action and press the
"Action Text" button. Please keep in mind that Action Text can only be used with a custom action that runs with Deferred execution option.
And one more thing is after signing the msi file (doing externally) while installing this msi, it shows program name wrongly. (See the attachment). How to remove this name and show the actual msi file name here?
You can take a look on our FAQ's
Why does the security prompt show a random name for my package although I specified one in Media page? article.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging