Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 7:12 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Automatically Start a Program
PostPosted: November 9th, 2007, 10:07 am 
Offline

Joined: April 11th, 2005, 2:31 pm
Posts: 122
Location: Edinburgh
I am currently working on an simple Advent Calendar publication (I know I know AGES till Christmas) which gives Christmas information, traditions from around the world, a different one for each day. It uses the SYSTEM TIME variables to check on the date before displaying the information and activity. However, I would like the program to start when a PC is switched on - minimised. I assume that if the program - or a shortcut - is installed in the Windows Start (C:\Documents and Settings\All Users\Start Menu\Programs\Startup\) then the program would start automatically. I can use the variable <Program Files> in the Distribution Wizard but how can I get it to point to the Startup folder - or should I be using a different distribution tool or is it just a stupid idea? :D

Suggestions?

David

_________________
Windows 7 Ultimate (32 bit)
Opus Pro 6.4, Opus 7
Dual Core Athlon 64 4000+
4 gb Ram


Top
 Profile  
 
 Post subject:
PostPosted: November 9th, 2007, 12:57 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi David,

There are several posts on using different installers if you do a search. We use the free version of Advanced Installer which is very powerful and would easily create a shortcut in the startup folder.

I'd avoid actually installing an executable in the startup folder and stick with the shortcut.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 9th, 2007, 2:50 pm 
Offline

Joined: April 11th, 2005, 2:31 pm
Posts: 122
Location: Edinburgh
Hi Mack,

Downloaded a copy of Advanced Installer and used it to create a simple MSI which when run did exactly what I wanted.

Brilliant - you've come up trumps again :)

David

_________________
Windows 7 Ultimate (32 bit)
Opus Pro 6.4, Opus 7
Dual Core Athlon 64 4000+
4 gb Ram


Top
 Profile  
 
 Post subject:
PostPosted: November 9th, 2007, 4:40 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
I'm just a sucker for anything Christmasy :-)

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 9th, 2007, 5:00 pm 
Offline

Joined: February 12th, 2005, 5:27 pm
Posts: 177
Location: Canada
Opus: Pro
OS: Win7
mackavi wrote:
I'm just a sucker for anything Christmasy :-)

Mack



Be carefull, i did a pub that was set to auto start with boot up and what i never thought about was that the startup folder was in different places on Vista and XP . What happened was that Vista excepted the install but created its own path and made it impossible for the uninstaller to find it .

My friedn got so mad at me for installing some hting that couldn't be removed LOL , actually i considered it an excellent virus because even after you find it , the attributes would not allow a delete nor could you change tham and if you removed it from command prompt , it fried you system and gave all kinds of errors.........

So it was an EXCELLENT virus to destry a system ......Would i do it again NO <-----------

I quickly set the install directory to a non-stratup directory

Al :shock:

_________________
-------------------------------------------------------
Win7 AMD +5000 Dual Core with 4 gig ram Geforce 9600 OPUS V7.05 Novice to Scripts/willing to learn , Mp3 Files must be 128kb


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 12th, 2007, 10:16 am 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
I would not autostart an application without asking the user to do this and not without a possibility to disable autostart without uninstalling the application.

I would install the application in the normal program files directory and set the autostart option within the registry. So the user can decide if she wants to autostart the program or not. In this way it is also easy for the user to disable/enable autostart at anytime she wants with one mouse click.

T.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 12th, 2007, 10:45 am 
Offline

Joined: April 11th, 2005, 2:31 pm
Posts: 122
Location: Edinburgh
Tarantoga

Whilst I am in general agreement with what you say......

The program I am working on is for a quite specific need and would only be used for a limited period. The program will be used on PCs attached to IWB in a classroom so that each time the teacher starts the PC the program is loaded. There will only be a small icon on the screen - which when clicked will open up the main program page. To all intents and purposes the PC will just operate as normal. I will include a routine to remind the teacher to uninstall the software after the festive period (or better still - if I can write a routine to do this automatically).

_________________
Windows 7 Ultimate (32 bit)
Opus Pro 6.4, Opus 7
Dual Core Athlon 64 4000+
4 gb Ram


Top
 Profile  
 
 Post subject:
PostPosted: November 12th, 2007, 6:03 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi David,

AI can do this as well :-) although it's advised by Microsoft NOT to include an uninstall.

http://www.advancedinstaller.com/user-g ... rtcut.html

You'd have to call either shortcut, or create your own commandline synatax for Opus and then use the close Publication option before running.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: November 12th, 2007, 7:10 pm 
Offline

Joined: April 11th, 2005, 2:31 pm
Posts: 122
Location: Edinburgh
Hi Mack

Thanks - I will have to take a look - I was thinking of writing a reminder routine for the 1st week in January so that when the PC is straited the program is loaded and if it is January then a dialogue box would appear - that's as far as I have got - thinking stage only!!

Out of interset, do youhave any idea why MS discourage this?

_________________
Windows 7 Ultimate (32 bit)
Opus Pro 6.4, Opus 7
Dual Core Athlon 64 4000+
4 gb Ram


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 45 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group