Search found 148 matches

by clum09
Mon Mar 21, 2011 2:45 am
Forum: VBScript
Topic: Determine packaged script run
Replies: 5
Views: 1320

Determine packaged script run

Thank you jvierra for the response. Maybe I can explain why I need to know whether the script instance is launched under a packaged script. I want to write all scripts to be able to output the log files to the script's folder whether the script is packaged or not packaged when I point the extracted ...
by clum09
Mon Mar 21, 2011 1:16 am
Forum: VBScript
Topic: Determine packaged script run
Replies: 5
Views: 1320

Determine packaged script run

Hello, Is there any way to determine whether a script instance is launched when it is packaged? I am writing a function to determine whether my vbscript is launched under a packaged script so that I can have another function determine the script's current folder. I am thinking about using a WMI quer...
by clum09
Mon Mar 21, 2011 1:16 am
Forum: VBScript
Topic: Determine packaged script run
Replies: 5
Views: 1320

Determine packaged script run

Hello, Is there any way to determine whether a script instance is launched when it is packaged? I am writing a function to determine whether my vbscript is launched under a packaged script so that I can have another function determine the script's current folder. I am thinking about using a WMI quer...
by clum09
Fri Mar 18, 2011 1:31 am
Forum: VBScript
Topic: Packaged script needs to write output file
Replies: 2
Views: 830

Packaged script needs to write output file

Hello, When I package my vbscript file in PrimalScript 2009 to become the .exe file, I have the option to have the extracted script file and the icon file to be placed in a separate folder that is different from the script folder. In the script code, I have the output log files written to the curren...
by clum09
Mon Jan 31, 2011 7:29 am
Forum: PrimalScript
Topic: HTA script packager not allow gif files
Replies: 1
Views: 410

HTA script packager not allow gif files

Hello, I used the latest version of PrimalScript 2009 to package my HTA script which I have some gif graphic files that are part of the script. However, when I try to add the gif graphic files in the packager's file open dialog box, I do not see my gif files inside the folder. I try to type in *.* i...
by clum09
Wed Jun 03, 2009 11:05 pm
Forum: Wish List and Feature Requests
Topic: Script Packager in PS 2009
Replies: 9
Views: 4424

Script Packager in PS 2009

I tried to package the vbscript using SAPIEN Script Host (Command line) with my script that has some command line arguments that the user can supply or not supply depending the need the user wants. However, the argument part does not work as expected. I have the options for user to either input argu...
by clum09
Wed Jun 03, 2009 4:54 am
Forum: Wish List and Feature Requests
Topic: Script Packager in PS 2009
Replies: 9
Views: 4424

Script Packager in PS 2009

Alex, I need to know the location of the folder where the packaged script resides as the base location. From here, I can create a subfolder for the log files if I want to. Are you saying that I need to use the SAPIEN Script Host (Command line) option and the Wscript.FullName method to point to the c...
by clum09
Wed Jun 03, 2009 2:43 am
Forum: Wish List and Feature Requests
Topic: Script Packager in PS 2009
Replies: 9
Views: 4424

Script Packager in PS 2009

Alex, I never have the packaged self-executable script in the Program Files folder. There is no piping cmd command to redirect the log files either - this is purely vbscript FSO object to write the text files as the log files to the current folder where the vbscript file itself resides. I remove the...
by clum09
Mon Jun 01, 2009 1:52 am
Forum: Wish List and Feature Requests
Topic: Script Packager in PS 2009
Replies: 9
Views: 4424

Script Packager in PS 2009

OK. Maybe I did not make my point clear enough. When I package a VBScript script to become a self-executable file, I can add the icon file and other utility files that I might use for the script do other tasks that VBScript cannot do, and I can set the location for self-executable script file to ex...
by clum09
Sat May 30, 2009 5:39 am
Forum: Wish List and Feature Requests
Topic: Script Packager in PS 2009
Replies: 9
Views: 4424

Script Packager in PS 2009

Hello, I see that Primal Script 2009 has additional features with its Script Packager. Will the Script Packager in Primal Script 2009 will have the follow features when packaging the VBscript? 1. The packaged script (the executable file with the .exe extension) can extract the script file, the icon ...