|
#1
|
||||
|
||||
|
Setup to write infos on a remote text file
Hi
I would like to incorporate a screen in my installer with to user input field that would be "User Name" and "Location". I want that when the user has filled in those field and click on the next button, the installer will go write this information to a text file that would reside on my peronnal web page. -I dont want the user to be able to cancel this process -I dont want that the user leave the fields empty Anyone can guide me with some code on how to do that? thanks in advance Martin |
|
#2
|
||||
|
||||
|
Make a php page on your Web site that takes the arguments and then writes them to a text file on the server. Then just use the HTTP.Submit action to send the values to the PHP page.
|
|
#3
|
||||
|
||||
|
Thanks Brett
I knew the answer would something like that I dont want to (and have no time to...) learn PHP unfortunately. So i am asking if anybody could help me with that PHP script, i would be more than happy! Thanks in advance to anyone that may help me Martin |
|
#4
|
||||
|
||||
|
I currently do this with our installs using SF6.. soon to be re-done for SF7. I have a php page on my site. when the user clicks next it it hits that page sends me via email all this info and anything else you want.
Full Name: Shawn Scott Email Address: shawn@galactek.com Version 9 - ECL Current 08-31-2004 ECL Download 09-15-2004 Sentinel Not Found Todays Date 09/20/04 Time 13 33 IP 90.0.0.23 Machine Name Unknown User Shawn Path C:\\MPN OS Info GalacTek GalacTek Ram 1024 95 FALSE 98 FALSE ME FALSE NT3 FALSE NT4 FALSE 2000 TRUE XP FALSE Admin Rights TRUE Path C:\\WINNT ------------------------------------------------------ Date and Time : Mon Sep 20 13:33:36 2004 Architecture : Genuine Intel Number of CPUs : 2 CPU Type : x86 Family 15 Model 2 Stepping 9 MMX Feature : Present CPU Speed : 2813.61 (5627.22) Mhz Operating System: Microsoft Windows 2000 Version : 5.0 Service Pack 4 Computer Name : SHAWN IP Address : 90.0.0.23 User Name : Shawn User Domain : LBGX2385 System Memory ---------------------------------------------- Physical Memory : 1024 Mb Usage : 71 % Used : 724 Mb Free : 300 Mb Paging File : 1694 Mb Usage : 37 % Used : 626 Mb Free : 1068 Mb Disk Information ---------------------------------------------- Disk C Type: Local Fixed Disk Usage: 41.73 % Size: 111.78 Gb Free: 65.13 Gb Disk S Type: Network Disk Usage: 12.05 % Size: 111.79 Gb Free: 98.32 Gb Disk Total Usage: 26.89 % Size: 223.57 Gb Free: 163.45 Gb ------------------------------------------------------ Here is the php script I use called process.php <?php // set variables $email ="shawn@hna-inc.com"; $subject ="ECLIPSE V8 Download Update"; // send email mail ("$email","$subject","$os","$body"); // end script exit; ?> Don't know if any of this will help, but I will follow this thread because I will have to do the same thing in SF7 and since it uses the same LUA as AM5 it will make it easy. |
|
#5
|
||||
|
||||
|
Thanks Galactek
Your example does show me how to declare variables in PHP, but i also need to know how to have this script to write to the text file that will also be on the same server. But thanks anyway |
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
Not that I am aware of. I have used that script for other things.
|
|
#8
|
||||
|
||||
|
One of the most important features of Setup Factory 7.0 is that your installer can do just about *anything* now!
Whether you need to read information from the registry, write out text files, prompt the user for information, post data to web forms, download files by HTTP or hundreds of other tasks that used to be impossible for an installer to do!
__________________
Check out the new MSI Factory 2.0! |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Features in Setup Factory 7.0 | Ted Sullivan | Setup Factory 7.0 Discussion | 0 | 08-12-2004 01:13 PM |
| Writing Text to a File | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 09-22-2003 03:02 PM |
| INFO: The Order of Execution in a Setup Factory 5.0 Installation | Support | Setup Factory 5.0 | 0 | 10-10-2002 04:45 PM |
| PROBLEM: Setup Requests Disk 2 in a Single File Setup | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-09-2002 03:04 PM |
| Install only into one of several directories with specific existing file? | RichardShaw | Setup Factory 5.0 | 0 | 08-17-2000 03:29 PM |
All times are GMT -6. The time now is 05:14 PM.








Linear Mode

