PDA

View Full Version : Placeing a uninstall shortcut in the start program


Burton
05-30-2002, 03:03 PM
I`ve been able to create a short cut for the uninstall in the start programs folder for Nt4 and 2000 but it wont work.
this what im creating the short cut with in the target file box

%WinDir%\iun6002.exe "%AppDir%\irunin.ini
im leaving the working directory blank

this is what shows up in the uninstall shortcut properities target
"C:\WINNT\iun6002.exe "C:\Program Files\FMCSA Civil Rights Search\irunin.ini"
the shortcut works if i take the first quote out manualy

I need it to be like this from the install
C:\WINNT\iun6002.exe "C:\Program Files\FMCSA Civil Rights Search\irunin.ini"
thanks in advance for any help

Lorne
05-31-2002, 09:17 AM
You've got some mismatched quotes there...remember that for every "opening" quote you put, you need to have a corresponding "closing" quote as well.

This line:

<pre>%WinDir%\iun6002.exe "%AppDir%\irunin.ini </pre>

Would need to be like this:

<pre>%WinDir%\iun6002.exe "%AppDir%\irunin.ini"</pre>

How are you trying to create this shortcut? Are you using a Create Shortcut action or just the File Properties dialog?

Mark
05-31-2002, 09:53 AM
Hi,

Also make sure that you are putting the path to your INI file (%AppDir%\irunin.ini%) in the Command Line Arguments field.

mark.

Burton
05-31-2002, 09:55 AM
Thanks for the Reply.
I placed the code you supplied but I still got the same results with and extra quote on the end.
"C:\WINNT\iun6002.exe "C:\Program Files\FMCSA Civil Rights Search\irunin.ini""
I need for the quote before the C at the start on the string not to be there and only one quote at the end of the string .
Im using the create shortcut action.

Lorne
05-31-2002, 10:19 AM
Do what Mark said. The %AppDir%\irunin.ini part needs to go in the Command line arguments field.

Burton
05-31-2002, 10:43 AM
I tried that also,still the same results.
I been working on this problom for three days and im about to have an aneurism.I`m go take a break and go to the stress relief room here and have a few rounds with the punching bag.

Burton
05-31-2002, 11:27 AM
Okey I got it working.
had to place "%AppDir%\irunin.ini" with the double quotes in the command line arguments.
Thanks for every ones help.