 |
| C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

August 4th, 2003, 12:19 PM
|
|
Authorized User
|
|
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
settings.ini
I have created a deployment project and have the following files in a folder with a directory of c:\myInstall: Setup.exe, MyProject.msi, dotnetfx.exe, and settings.ini.
For the settings.ini file, I applied the following settings.
Msi=MyProject.msi
FxInstallerPath=c:\myInstall (where the dotnetfx.exe is placed)
However, when I run the setup on my computer, I get an error telling me that
"Version detection failed for c:\myInstall\dotnetfx.exe. Ensure the installer exists at the specified location."
I know that it is there, anyone have an idea what could be wrong?
Thanks in advance,
Nick Nelson
|
|

August 24th, 2003, 04:48 AM
|
|
Registered User
|
|
Join Date: Aug 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
It's urgent.......
Have you got the solution to your problem? If yes then please let me know the solution, as I am also facing the same problem.
Thanks.
|
|

August 25th, 2003, 12:05 PM
|
|
Authorized User
|
|
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Well, first try this:
Download the following file NDP10_SP_Q321884_En.exe to install the .Net Framework SP2. That should take care of it, otherwise follow the next few steps.
Otherwise:
in order for it to work you must include 4 files in a folder. You first need to download "bootstrapper_sample.exe" and run it. It will create 2 files: settings.ini and setup.exe. You also need to download "dotnetredist.exe" and run it. It will create the "dotnetfx.exe" file. When you build your "RELEASE" project, it will create a ".MSI" file, which is your application. Now in order to run the .Net framework, you need to add the "settings.ini", "setup.exe", and "dotnetfx.exe" for a total of 4 files. Now modify the "settings.ini" so it says
Msi = YourSetup.msi (replacing "YourSetup" with your .msi"
Now you can click on the setup.exe, which will start the dotnetfx.exe to check for the .Net Framework. If the Framework is installed, then setup will continue with your installation of the YourSetup.msi. If the Framework is not installed it will install it.
|
|

August 25th, 2003, 12:07 PM
|
|
Authorized User
|
|
Join Date: Jul 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
"settings.ini", "setup.exe", and "dotnetfx.exe", and "YourSetup.msi" are necessary to run your application on other computers
|
|

October 30th, 2003, 04:56 AM
|
|
Registered User
|
|
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Can Any one tell me from where do I find "bootstrapper_sample.exe" , when I build "RELEASE" project I get the following five files : Deploy.msi, InstMsiA.exe,InstMsiW.exe,Setup.exe,Setup.ini.
No where do I find settings.ini and bootstrapper.exe
|
|

October 30th, 2003, 05:26 AM
|
|
Registered User
|
|
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hey I got it .
This is what I wrote at settings.ini.
[Bootstrap]
Msi=Deploy.msi
'LanguageDirectory=jpn
'ProductName=testproductname
'DialogText=
'CaptionText=
'ErrorCaptionText=
FxInstallerPath=C:\Documents and Settings\imran\Desktop\test\Deploy\Release
But after I start setup.exe, this is what it shows "This may take several minustes...." and then "Application Setup has failed. If the problem persists, please contact Product Support".
Please suggest.
|
|
 |