|
|
|||||||
Im trying to install a "MSI" file in my kixtart script. For some reason is doesnt want to run. Does anyone have any ideas why the script may not work. I would like to have another pair of eyes to view my script. Any help is much appreciated. Thanks If InGroup ("ALLKIXCALLTRACKING") If NOT ReadValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2') Run 'msiexec /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi /qb- WriteValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2','1','REG_SZ') EndIf |
||||||||
|
|
|||||||
Run 'msiexec /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi /qb-' missed end quote |
||||||||
|
|
|||||||
I just added the quote re-ran the MSI file and the script did not kick off the MSI installation. Updated Script: If InGroup ("ALLKIXCALLTRACKING") If NOT ReadValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2') Run 'msiexec /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi' /qb- WriteValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2','1','REG_SZ') EndIf |
||||||||
|
|
|||||||
lets start with the fact that your end quote is misplaced. see the correct line from radimus. |
||||||||
|
|
|||||||
I changed the quote and still doesnt want to run. Has anyone installed a MSI file from Kixtart script???? If InGroup ("ALLKIXCALLTRACKING") If NOT ReadValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2') Run 'msiexec /i \\Fldavrep01\calltracking\PSCallRecordingSetup\PSCallTracking_Setup.msi /qb-' WriteValue('HKEY_CURRENT_USER\SOFTWARE\RunOnce','cal2','1','REG_SZ') EndIf |
||||||||
|
|
|||||||
sure we have. done it a lot without any problems. you might want to use shell instead of run... then, the msi can be of special kind, so you might need to add some extra code, but it surely shall run fine, at least with shell. |
||||||||
|
|
|||||||
Could you help with syntax with for the Shell command?? |
||||||||
|
|
|||||||
First off, there should be two ENDIFs there. Are you sure you are satisfying both IFs and that it is the RUN line that is letting you down? Have you tried putting in a marker to see that you get there? |
||||||||
|
|
|||||||
Quote: Indeed we do install msi-packets with the help of kixtart. Code:
(note that the location of msiexec might differ on 9x-machines (I acctually have no idea)) Any comments about errornous code? =) (spelling noted |