|
#1
|
|||
|
|||
|
Environment variables, COM servers
Hi,
I am testing Setup Factory. I can't find a possibility to create environment variables or to register COM servers (xxx.exe /REGSERVER). Can someone tip me? Kind regards, Jelle van der Linden |
|
#2
|
|||
|
|||
|
You may need to compile and run .bat or .cmd files using
the File.Run with 'command parameters' to achieve what you want. (if not a batch file..a sequence of file.run actions) to register Comms: in a command prompt type: regsvr32.exe /? to show the possible commands As for setting environment variables..same thing at command prompt type SET /? You may need the "enable file extensions on expansion" call or similar at or near the beginning of a batch file for this one though, to give more control and additional commands option. There have been posts in the AMS5 forums on these two. However they can be done using SUF7 some one will probably come up with some code for you ..does the file properties function in the build environment allow for register comms ..does for activex I know that much.. Last edited by SUF6NEWBIE; 10-23-2004 at 12:13 AM. |
|
#3
|
|||
|
|||
|
Alternative solution
Hi,
I just saw that there is a Shell.Execute action. I think I will write a very simple VB program, that queries the user about the configuration he wants to activate. From VB, it is simple to create system and users environment variables. Registering a COM .exe can be done with the same method (Shell.Execute). The inconvenience is of cause the break in user dialog; my VB progam will not have the same look and feel as the installetion program. I "just" need to find out where the user has installed the SW. This is typically a postinstall action. Jelle |
|
#4
|
|||
|
|||
|
Yep, sorry I can't help you with this..out of my 'league' !!
where the SW has been installed ..should be able to 'record' during setup using SessionVar.Expand actions or similar ? could create a small permanent ini file with your path info in say the systm's application data folder or write-refer to ini in %TempLaunchFolder% ..again post install actions etc as you said... Last edited by SUF6NEWBIE; 10-23-2004 at 12:47 AM. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to modify environment variables...specifically the "path" ?!?!? | ChrisP | Setup Factory 6.0 | 2 | 11-19-2003 04:54 PM |
| Environment Variables | bjohnson | TrueUpdate 1.0 | 1 | 09-15-2003 07:45 AM |
| INFO: Setting Environment Variables | Support | Setup Factory 6.0 Knowledge Base | 0 | 10-10-2002 01:07 PM |
| Environment variables | SpaceStationAlpha | Setup Factory 6.0 | 1 | 07-17-2001 04:08 PM |
| Environment variables | SpaceStationAlpha | Setup Factory 5.0 | 4 | 04-28-2001 05:16 PM |
All times are GMT -6. The time now is 02:13 AM.








Linear Mode

