|
#1
|
|||
|
|||
|
File.Run
Ref: 'action run exe and argument by jenny62 9/24'
I am having the same issue. I am trying to call sf6 uninstaller from sf7. Example: File.Run(SessionVar.Expand("%WindowsFolder%").."\\ iun6002.exe", _ SessionVar.Expand("%AppFolder%").."\\irunin.ini", "", SW_SHOWNORMAL, true); [Using or not using the Working Folder makes no difference] The error message is "Could not load initialization file." Calling this from the command prompt works just fine. Calling this from within VB works just fine (Shell function). The only way I have been able to get the File.Run to work is to place 'irunin.ini' in the %WindowsFolder% and use %WindowsFolder% as the passed argument. Any suggestion? Dave |
|
#2
|
|||
|
|||
|
I think you have forgotten the escape sequence in the arguments.
Quote:
C:\WINDOWS\iun6002.exe "D:\Program Files\TIM\irunin.ini" the elements are: strUninstallCmd = _WindowsFolder.."\\iun6002.exe" strUninstallArgs = "\"D:\\Program Files\\TIM\\irunin.ini\""; All of us has experienced that an action we have written didn't work as expected. It's then a good idea to debug with a Dialog.Message Box – or the great feature "The Debug Window" which you didn't have in SUF6. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File.run _sourcefolder problem | SpudGunMan | AutoPlay Media Studio 5.0 | 26 | 09-07-2004 07:32 PM |
| File.Run Question | fcc | AutoPlay Media Studio 5.0 | 5 | 08-04-2004 03:20 PM |
| how i can make an application to run | tech_29 | AutoPlay Media Studio 5.0 | 4 | 08-02-2004 04:08 PM |
| How set FullScreem using File.run | Wizardo | AutoPlay Media Studio 5.0 | 0 | 07-30-2004 01:56 AM |
| Newbie (File.Run) | Blue | AutoPlay Media Studio 5.0 | 6 | 02-02-2004 06:31 PM |
All times are GMT -6. The time now is 07:50 PM.








Linear Mode

