jabelsc
Posts: 12
Joined: Tue Sep 05, 2006 10:12 am

Oracle XE silent installation

Hello!

I want to silently install Oracle XE, so I check for it as a prerrequisite. In the command line field of this prerrequisite I have to specify:
/s /f1"c:\silentinstall.iss" /f2"c:\installationresult.txt".
The problem is that I have to specify the path of the file .iss in order to make the silent installation, but this file won't exist in the target computer and it is necessary to set the whole path, it is not valid a relative path of that file.
Can anybody help me on how to do that?
Thanks a lot.

Abel
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Advanced Installer support multiple files as prerequisites. So when you create your prerequisite switch to "Files" tab and add both required files: OracleXE.exe, OracleXE-install.iss. Make OracleXE.exe as primary. Now specify the command line in the "Properties" tab.

Note that this works only if you choose "File In Package" for the "Location" field.

Hope this helps.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jabelsc
Posts: 12
Joined: Tue Sep 05, 2006 10:12 am

Thanks a lot Gheorghe!

I've done what you said, but the problem is that in the 'command line' field I have to specify the path of the .iss file, for example:

/s /f1"silentinstall.iss" /f2"installationresult.txt".

But I think the point is that I must specify the complete path of the .iss file, e.g., c:\silentinstall.iss, and specifying only silentinstall.iss is not valid because the program doesn't know where to find it.

Regards,

Abel
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

It should work with this command line: /s /f1"silentinstall.iss" /f2"installationresult.txt", because when the exe it's executed it's looking for the .iss file in the current folder.

Have you try to run the exe with this command line from command prompt? It works?

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jabelsc
Posts: 12
Joined: Tue Sep 05, 2006 10:12 am

Hi again!

Yes, I've tried to do that but it doesn't work in the command prompt neither. I've run out of ideas. Perhaps is a bug of Oracle XE.

Thanks a lot anyway.

Abel
jabelsc
Posts: 12
Joined: Tue Sep 05, 2006 10:12 am

Hi!

As a solution to this problem, is it possible to copy the .iss file to the target computer before installing the prerequisite?

Thanks in advance.

Abel
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
As a solution to this problem, is it possible to copy the .iss file to the target computer before installing the prerequisite?
This can not be done since the prerequisites are executed first. But i don't think that this is the problem. Maybe the command line is incorrect, please try with this:/s /f1"OracleXE-install.iss /f2"installationresult.txt

Hope this helps.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
jabelsc
Posts: 12
Joined: Tue Sep 05, 2006 10:12 am

It doesn't work either. I've tried to insert a new prerequisite to copy the .iss into a directory in the target computer, using xcopy, but it doesn't work.
Do you have any other idea on how can I solve this point? I'm really desperate.

Thanks a lot Gheorghe!!

Regards

Abel.
hadriya9091
Posts: 1
Joined: Wed Feb 13, 2013 7:30 am

Re: Oracle XE silent installation

Excellent post. I want to thank you for this informative read, I really appreciate sharing this great post. Keep up your work. Thanks for this very useful
H

Return to “Common Problems”