We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

What is the best way to switch to Install mode?

Hello guys,
I would like to know which would be the best way to force switching to Install mode from my Advanced Installer project, only if Terminal Services is recognized.
The setup (.exe or .msi) should switch to the /install mode for installation and going back to the /execution mode after installation.

regards,
Éric.

https://support.microsoft.com/en-us/kb/320185 --> HOW TO: Use the CHANGE USER Command to Switch to Install Mode in Windows 2000 Terminal Services


keywords: change user /install /execute Terminal Services
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: What is the best way to switch to Install mode?

Hi Éric,

I'm afraid that we do not have predefined support for this. However, to achieve this, you can create two batch files with the appropriate command lines and execute them as custom actions at the beginning and at the end of the installation. For instance:

First BAT file:

Code: Select all

change user /instal
Second BAT file:

Code: Select all

change user /execute
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Re: What is the best way to switch to Install mode?

Thx for your reply, it could be a useful feature for terminal server installations ;)
Regards, Éric.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: What is the best way to switch to Install mode?

You're welcome Éric.

We may add an improvement in the future if other users will request this feature, too.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elou
Posts: 96
Joined: Tue Apr 14, 2015 9:12 am

Re: What is the best way to switch to Install mode?

Update Query:
1) Do Advanced Installer 13.1 now support the install mode switch feature?
2) Is it possible from the installer to detect wich mode is actually activated?
Regards, Éric
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: What is the best way to switch to Install mode?

Hi Éric,

I'm afraid that we did make any improvement regarding this feature as this is related to Windows 2000 which we do not support anymore.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”