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!

shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Quiet installation problem in Windows 7(64 bit)

Hi,

I have written a setup for the Outlook addin(which runs on xp, windows 7, windows 8 and vista) which also installs the following prequisites
- .Net framework 3.5 client profile
- .Net framework 4.0 client profile
- VSTO 2010 Runtime_x86_x64

I use the following command line parameter for the quiet installation
Setup.exe /exelang 1033 /exenoui /qn /l*v install.log

This works fine except in Windows 7(64 bit) quiet installation. Basically, after the quiet installation, I can not see any of the prerequisites(in add/remove programs), but I can see my product.

Can you please help me in solving this? If you need any more things please let me know.
Attachments
setup-windows-386.aip
Aip file
(104.33 KiB) Downloaded 575 times
install_quiet.log
Failed case - Windows 7(64 bit) quiet installation log file
(221.18 KiB) Downloaded 662 times
install.log
Successful case - Windows 7(64 bit) UI installation log file
(360.2 KiB) Downloaded 433 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hello,

I've tested your scenario and it worked as expected. I've used the same command line as you Setup.exe /exelang 1033 /exenoui /qn /l*v C:\install.log on a Windows 7 – 64bit machine.

So can you please make sure that the related prerequisite are not already installed on the target machine?

Please note that you can go in the Install Conditions tab of the related prerequisite and evaluate the install conditions using the [Evaluate...] button.

As a side note, can you please tell us if the behavior still persist if you delete the related prerequisite and then add them once again? Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

Thanks for the response.

May be the following scenarios would help you understanding the problem

Scenario 1:
I have a fresh machine(this does not have prerequisites). On that I am trying to install using the UI.
All prerequisites gets installed, along with the product.
I have tried this in Win XP 32 bit, Win7 32 bit, Win 7 64 bit, Vista 32 bit, Vista 64 bit

Scenario 2:
I have a fresh machine(this does not have prerequisites). On that I am trying to install using the quiet option
On 32 bit machines, all prerequisites gets installed, along with the product.
But on 64 bit machines, product gets installed without the prerequisites.

I have configured install conditions properly, and found them to be working when I launch the setup in UI mode.

Do let me know, if you need any more details from me.

Note: May be this is a problem to do with the prerequisites installation on 64 bit machine in silent mode. I will try to run just the prerequisite installation(independent of our setup), and check whether it is a problem with the prerequisites.

I will also try with a sample(simple) setup, and if it does not work, I will send the same to you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hi Shiva,

Unfortunately I cannot replicate the behavior which you encountered.
I will also try with a sample(simple) setup, and if it does not work, I will send the same to you.
Can you please send us a sample which replicate this behavior to support at advancedinstaller dot com so we can investigate it?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

I have sent you a mail. Do let me know if you need anything from my side.

Regards,
Rohan
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

Please let me know once this problem is fixed.

Regards,
Rohan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hello Rohan,

I'm afraid I don't have any resolution for this issue. During internal tests it seems there is a problem with the VSTO 2010 Runtime prerequisite.
We will further investigate this and as soon as I have a conclusive answer, I'll let you know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

I have also tested with the other prerequisites like .Net Client framework 3.5, and I get the similar behavior.

If you need any help in reproducing this, please do let me know.

Regards,
Rohan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hi Rohan,

Please note that Windows 7 comes by default with the .Net framework 3.5 installed.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hi Rohan,

It seems that the VSTO 2010 Runntime prerequisite fails to install during when it is set as a Feature-based prerequisite and the .MSI is pre-elevated. As a workaround, you ca set set the VSTO 2010 Runntime prerequisite as a Pre-Install prerequisite.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

I have just tested(i.e VSTO in preinstall) this, but found that VSTO is launched in the UI mode(even though I have provided /q command line as part of the silent installation).

Can you please check this and let me know?

If you want I could send you the installer for reproducing this problem.

Regards,
Rohan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

Hi Rohan,

I'm not sure why you encountered this behavior. I've tested your scenario and it worked as expected.

Please make sure that in the Setup Files tab of the prerequisite in the “Install command Lines” group you have the following parameter:

Code: Select all

/q

Also, when your launch your installation package from the command line you should have something like:
<path_to_exe> myFile.exe /exenoui /qn

I've attached a sample which implements your scenario.

Best regards,
Dan
Attachments
VstoQuiest.zip
(3.89 KiB) Downloaded 530 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

I have used /exelang 1033 /exenoui /qn /l*v install.log as the commandline parameters while launching the application.

I guess your project is working because you have /q for all "Install Command Lines". According to my understanding this needs to set only for the "Silent", because in the UI mode installer is supposed to show the UI.

I have mailed you the actual project. Can you please help me in fixing the same?

Regards,
Rohan
shetty_rohan
Posts: 363
Joined: Fri Dec 07, 2012 5:28 am
Location: Bangalore, India
Contact: Website

Re: Quiet installation problem in Windows 7(64 bit)

Hi Dan,

The aip file sent by you is working fine(i.e moving of VSTO to pre install). Thank you.

Regards,
Rohan
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Quiet installation problem in Windows 7(64 bit)

You're welcome Rohan. I'm glad you got this working.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”