MSFN Forum: Visual Task Tips - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Visual Task Tips Need the app to launch on start Rate Topic: -----

#1 User is offline   P1R4T3 

  • ARRRRRRRGG!!
  • Group: Members
  • Posts: 29
  • Joined: 01-November 04

Posted 21 July 2006 - 04:23 PM

Hello everybody. Ive just created a CD and Im reviewing some mistakes. Most of them have been corrected but Im having a little problem after installing Visual Task Tips.

Here's part of my runonceex:

REG ADD %KEY%\035 /VE /D "Visual Task Tips" /f
REG ADD %KEY%\035 /V 1 /D "%PP%\VISUALTASK\VisualTaskTips_20.exe /S" /f


It installs without any problem but I want it to start with windows.

I've added a key to HKCU\Run which points out to "c:\program files\..."

The problem here is that this registry key is valid only if the %programfiles% directory is found on C:\. Problems will arise of I'm installing windows on drive other than c:\

Is there any way I can make this app start with windows?

Thanks.


#2 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 22 July 2006 - 02:32 AM

Add a script to your batch that creates that reg key, that is; do not use a reg file to import the key.

#3 User is offline   ckislam 

  • Islam Adel
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 04-September 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 July 2006 - 04:50 AM

hi

REG ADD %KEY%\035 /V 1 /D "%PP%\VISUALTASK\VisualTaskTips_20.exe /S" /f

has to be changed to

REG ADD %KEY%\035 /V 1 /D "%PP%\VISUALTASK\VisualTaskTips_20.exe" /S /f

#4 User is offline   P1R4T3 

  • ARRRRRRRGG!!
  • Group: Members
  • Posts: 29
  • Joined: 01-November 04

Posted 22 July 2006 - 07:48 AM

Thanks for the reply.
I'll try both your recommendations guys and I'll let you know.
Thanks.

#5 User is offline   mazin 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,952
  • Joined: 12-January 04

Posted 22 July 2006 - 08:08 AM

This code is one line, not two lines:

REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run
/v VTTips /d "%SystemDrive%\Program Files\YourAppFolder\YourApp.EXE" -SomeSwitch


Note:

1- VTTips is a mere name. You can change it as you like.

2- YourAppFolder is the name of directory under "Program Files" where your app is installed.

3- YourApp.EXE is the executable of your app that you want to load when Windows starts.

4- You can use %ProgramFiles% instead of %SystemDrive%\Program Files, but I like the latter one.

5- If no switches are needed to start your app in queit mode, then delete -SomeSwitch.

6- Again, the whole script above is in one line.

#6 User is offline   P1R4T3 

  • ARRRRRRRGG!!
  • Group: Members
  • Posts: 29
  • Joined: 01-November 04

Posted 22 July 2006 - 09:13 AM

So I can run it like this:

REG ADD %KEY%\035 /VE /D "Visual Task Tips" /f
REG ADD %KEY%\035 /V 1 /D "%PP%\VISUALTASK\VisualTaskTips_20.exe /S" /f
REG ADD HKCU\Software\Microsoft\Windows\CurrentVersion\Run
/v VTTips /d "%SystemDrive%\Program Files\VisualTaskTips\VisualTaskTips.EXE"


Thanks for the help man.You've saved me lots of time on this saturday. :thumbup

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy