Silent versus Basic MSI

10 replies [Last post]
Michael Kasprzak's picture
Offline
 Brown Belt
Joined: Sep 23 2009
Points: 4856
5
Average: 5 (1 vote)

Hi,

I've run in to a minor snag with the MSI installer side. There's a chance though that Windows Vista is to blame though (I don't have a 7 machine yet, so I don't know if this is something that has been changed).

I've tried running my installer either of these ways:

MySetup.msi /qn

msisetup /i MySetup.msi /qn

Both start and exit within a short period of time without installing. The problem is my MSI is unsigned, and Vista annoyingly wants to prompt the user if it's okay to install.

With that in mind, this works (with a single confirmation click from the user):

MySetup.msi /qb

msisetup /i MySetup.msi /qb

So it does support automated installation. I don't think I saw anything in requirements that said you needed a signed installer.

Is this okay?

Thanks,

Mike Kasprzak
Sykhronics Entertainment
www.sykhronics.com

Offline
 Red Belt
Joined: Nov 20 2009
Points: 29131

I also using Vista. & i'm getting that message to approve the installation. I think it's not the problem. Anyway other members please share your opinion.!

Andre's picture
Offline
Joined: Sep 21 2009
Points: 8159

Hello All,

please give it a go and submit it this way. If there are any problem with that signed message the validator will respond to you. Thanks.

Best Regards,

Andre B.

Intel® Atom™ Developer Program

BrianDevArch's picture
Offline
 Black Belt (Community Leadership) Red Belt
Joined: Nov 13 2009
Points: 62276

Michael,

Perhaps this will help, although it is speculation at this point.

The Atom store will likely be calling our MSI installers with a few parameters, including /qn. From that point, it should run with the same security context (impersonation) as the App Store. More than likely the prompt will not appear, and if it does this is the way Vista works and is not listed as a validation failure in any documents that I have read.

Michael Kasprzak's picture
Offline
 Brown Belt
Joined: Sep 23 2009
Points: 4856

Well, maybe if it's possible to give an application administrative launching permissions on Windows. Maybe that's possible, I don't know. Not something I need to be concerned with, since I'm not writing a store. :)

"/qn" does work for me on my XP Netbook. So other than giving Verisign $500, I've done all I can at this point.

BrianDevArch's picture
Offline
 Black Belt (Community Leadership) Red Belt
Joined: Nov 13 2009
Points: 62276

Did you remember to remove all Dialogues form the User Interface portion of your Package and Deployment project?

Michael Kasprzak's picture
Offline
 Brown Belt
Joined: Sep 23 2009
Points: 4856

Ahh, I guess not. I never thought to check the view menu for those. Oh well, if that what the criteria wants, I'll hear back from the validator.

Jeremy Wadsack's picture
Offline
 Brown Belt
Joined: Nov 3 2009
Points: 5640

You can get less expensive software signing certificates from Comodo (among others): http://www.comodo.com/business-security/digital-certificates/code-signin...

Also, not signing you app gives a really scary warning message to Windows 7 users (or fails on silent) so, really, it's probably a good idea to do this. See this article for some background: http://www.wintellect.com/CS/blogs/jrobbins/archive/2007/12/21/code-sign...

BrianDevArch's picture
Offline
 Black Belt (Community Leadership) Red Belt
Joined: Nov 13 2009
Points: 62276

+1 for Comodo. Definitely worth it if you have several pay applications.

Otaku Software Pty Ltd's picture
Offline
 Brown Belt
Joined: Dec 7 2009
Points: 3053

-1 for Comodo, I've had *terrible* experiences with them in the past. The certificates are fine but their support is horrible. A couple of years ago I wasted three weeks trying to renew my Comodo certificate, and it was a bureaucratic nightmare.

I eventually gave up and switched to Verisign, who issued me a certificate in a couple of days. Every time I've needed to contact them their support has been a delight. Yes, they're pricey, but sometimes you get what you pay for :)

BrianDevArch's picture
Offline
 Black Belt (Community Leadership) Red Belt
Joined: Nov 13 2009
Points: 62276

For those who would like to specify their certificate budget and get a few reviews of the provider have a look at SSLShopper:

http://www.sslshopper.com/ssl-certificate-wizard.html