Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: to run a windows power shell script

Hello,
Can u please refer me a trusted provider where i can get a trial certificate...
Here is a list of certificate providers you can try to contact: VeriSign, Comodo, Thawte. Also, please keep in mind that you should use a "Microsoft Authenticode" certificate type to sign your setup packages.
I need to store the state or session of the installer temporarily. If the user closes the installer in the middle, and if they open the installer again then it should start from the dialog where the installer was closed, it should not start from the beginning. Can i maintain the state or session of the installer? Is this possible?
I'm afraid this is not possible. This is not supported by Windows Installer.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sujai.mca
Posts: 18
Joined: Mon Aug 18, 2014 6:55 am

Re: to run a windows power shell script

Okay sir... Thanks for your reply... :)
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: to run a windows power shell script

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sujai.mca
Posts: 18
Joined: Mon Aug 18, 2014 6:55 am

Re: to run a windows power shell script

Hello,
I added a prerequisites and set that to download from a URL. Can i add that prerequisites setup with the installer package?, so that each and every time it need not to be downloaded...
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: to run a windows power shell script

Hello,

Yes, you can bundle the prerequisite setup inside your main installation package. For a new prerequisite, just go to "Prerequisites" page and use the "New Package Prerequisite" context menu option and then, just select your prerequisite setup from disk. If you already added your prerequisite as an URL prerequisite, then just go to "Prerequisites Setup Files" tab, select the "Use files from disk" option and choose your prerequisite setup from disk.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sujai.mca
Posts: 18
Joined: Mon Aug 18, 2014 6:55 am

Re: to run a windows power shell script

Thanks,
Then if i install the setup in another system, that prerequisites will not be available in that local machine. Then how it will be installed???
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: to run a windows power shell script

Hello,

Please keep in mind that when using "Use files from disk" option, at build time the prerequisite installation package will be embedded inside your main setup. Then, when you install the main setup on another machine, the main setup will extract the embedded prerequisite package at the location specified in "Prerequisites page -> Packages tree root -> Download/extraction folder field" from your project.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sujai.mca
Posts: 18
Joined: Mon Aug 18, 2014 6:55 am

Re: to run a windows power shell script

Hello Daniel,
I need a help from you.
During the installation time, when the installer is closed in the middle without the knowledge of the user and when the user opens the installer again, then it should proceed from the same dialogue where it was closed.

I have a text file which will save the current dialogue. ie, when the first dialogue is completed and the user clicks the next button, then text file will save the value "1" (dialogue number) and it ll navigate to the second dialogue. when the second dialogue is completed and the user clicks the next button, then text file will save the value "2" (dialogue number) and it goes on. When the installer is closed at the stage of 5th dialogue without completing it properly, the text file will contain the value as "4". When the user opens the installer again, the start page(first dialogue) will appear. When the user clicks next button the value in the file("4") should be read and the corresponding dialogue(4th dialogue) should open. I need to directly navigate from first dialogue to fourth dialogue without going through the 2nd and 3rd dialogue during the run time. Is this possible??? :?:
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: to run a windows power shell script

Hello,

We don't have predefined functionality to preserve the dialogs chain so they start form where the installation was cancelled.

However, in order to achieve this you can try to create your own custom actions. You can create a custom action which writes the desired values (dialog no) in the file when the installation is cancelled and another one (running in the early beginning) which read the file content and save the response into an installer property (e.g. DIALOG_PROP). Then, you can use the "Show only if..." support to conditionally show your installation dialogs based on the "DIALOG_PROP" property value.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”