Opening the CD tray? That's an old trick. Forgot precisely how it's done, though. A script if I recall correctly.
There are several ways advertising popups can appear on your PC. Messenger service popups can happen if you don't use a firewall to block open ports on the internet and the messenger service is enabled on your system. (Note: the messenger service is not Messenger the Instant Messaging program. It's a service for providing alerts and info on a LAN.) Even if you don't disable the messenger service, a software firewall or even just a NAT router will prevent messenger service popups.
Also, one can get spyware, popups and scripts if one uses IE and has ActiveX and scripting enabled in the Internet Zone. This is now one of the main ways spyware gets on PC's. (Used to be "spyware" was primarily gotten when it was bundled with software, but the spyware folks have gotten more clever and have teamed up with the malware folks to foist their stuff on PC's via IE when security settings are lax.)
If Stardock bundled spyware with its apps this would be widely known in Antispyware circles. Stardock doesn't inlude spyware and it would lose many customers if it ever did.
[Message Edited]