View Full Version : Run Silent File
Peyman
10-22-2007, 02:11 PM
I find A secret Arqument in File.Open and File.Run and File.RunAs
You can Open a file in hide mode without use any exeFile or Plugin or etc..
For open file in hide(silent)mode You can Use SW_HIDE For Example :
File.Open("AutoPlay\\Docs\\MyText.txt", "", SW_HIDE);
or
File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_HIDE, false);
or
File.RunAs("AutoPlay\\Docs\\MyProg.exe", "", "", SW_HIDE, false, "", "", "", LOGON_NO_OPTION, nil, nil);
Enjoy
Esfahan
10-26-2007, 10:33 AM
Hi Dear Peyman
I see your Example.
It's very nice for Protection Trick ( but as component from Total)
I need help you to Learn it
can you aid me?
THX u
پیمان عزیز دوست ذاشتی روی کارت بحث میکنیم
kk250040
03-03-2008, 09:37 AM
I have created a setup in which I have some existing MSIs which donot have Silent installation. I want to run these MSIs using my setup in Silent for which I have no way, When I tried to hide the window atleast as Peyman suggested, this too didnot work, didnot knwo why?
Was it because it has some user prompts to confirm some destination folders etc., Is there a way to do a silent install fo such existing MSIs.
I find A secret Arqument in File.Open and File.Run and File.RunAs
You can Open a file in hide mode without use any exeFile or Plugin or etc..
For open file in hide(silent)mode You can Use SW_HIDE For Example :
File.Open("AutoPlay\\Docs\\MyText.txt", "", SW_HIDE);
or
File.Run("AutoPlay\\Docs\\MyProg.exe", "", "", SW_HIDE, false);
or
File.RunAs("AutoPlay\\Docs\\MyProg.exe", "", "", SW_HIDE, false, "", "", "", LOGON_NO_OPTION, nil, nil);
Enjoy
Would appreciate any help...
can someone giv me an idea of what I can do about this...
Thanks,
Kusuma.
rexzooly
03-03-2008, 01:47 PM
I have created a setup in which I have some existing MSIs which donot have Silent installation. I want to run these MSIs using my setup in Silent for which I have no way, When I tried to hide the window atleast as Peyman suggested, this too didnot work, didnot knwo why?
Was it because it has some user prompts to confirm some destination folders etc., Is there a way to do a silent install fo such existing MSIs.
Would appreciate any help...
can someone giv me an idea of what I can do about this...
Thanks,
Kusuma.
if its not using reg valuse then make you own installer for them MSI files this
will then make is silent.
i think SUF is able to support Silent mode.
kk250040
03-04-2008, 01:31 AM
Hi,
I tried the below to run the msi in silent mode, but it was useless...
Can anyone suggest me where I was wrong...
File.Run(_SystemFolder.."\\msiexec.exe /q", "-i mymsi.msi", SessionVar.Expand("%myDest%"), SW_SHOWNORMAL, true);
(or)
File.Run(_SystemFolder.."\\msiexec.exe /quiet", "-i mymsi.msi", SessionVar.Expand("%myDest%"), SW_SHOWNORMAL, true);
These didnot install my MSI at all...
Sorry I am not very clear of what Rexzooly suggested...
Thanks,
Kusuma
rexzooly
03-04-2008, 04:52 AM
i mean unpack your MSI installer and make your own installer this way you can set it to be sileant.
kk250040
03-05-2008, 09:55 AM
But the MSIs are provided by one of my client which I cannot play with, anyways, now I ma done with the silent installaing them... I used the syntax...
File.Run(_SystemFolder.."\\msiexec.exe", "-i mymsi.msi /qn", SessionVar.Expand("%myDest%"), SW_SHOWNORMAL, true);
and this is working perfect, thanks for all the suggestions.
DaSoulRed
03-06-2008, 05:37 PM
What does this file.
Kind off funny it looks like my programs, becouse after i press F5 does not do anything.
1.- Can i run a exe file with this one?
Can any one send some feedback. Bytes
rexzooly
03-07-2008, 11:36 AM
just a thought version 7 as MSI options download there demo and have a look at that its a option i have never used but its here.:yes
DaSoulRed
03-07-2008, 11:41 AM
just a thought version 7 as MSI options download there demo and have a look at that its a option i have never used but its here.:yes
Thanks for the feedback and thanks for the file also.
Sure thing the thing is how to use the stuff we find. bye :wow
rexzooly
03-07-2008, 01:00 PM
Thanks for the feedback and thanks for the file also.
Sure thing the thing is how to use the stuff we find. bye :wow
most things people make for others on here have comments in them to explane
how to use.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.