how to add batch file using wise package
hi,
I like to add batch file to my wise package. How can i do that.. thanks
I like to add batch file to my wise package. How can i do that.. thanks
0 Comments
[ + ] Show comments
Answers (25)
Please log in to answer
Posted by:
MSIPackager
18 years ago
Posted by:
aa006
18 years ago
this what i did under MSI script , Execute program from the Installed Files .. applicaton .exe"/s IPAddress:port;DL" ..... it works fine if i want to install but while uninstalling it comes up with error 1721.... i guess i have put if statement or something like that.. do u have any idea what it would be ?
Posted by:
MSIPackager
18 years ago
Posted by:
aa006
18 years ago
Posted by:
MSIPackager
18 years ago
Posted by:
aa006
18 years ago
Posted by:
MSIPackager
18 years ago
Posted by:
aa006
18 years ago
Posted by:
aa006
18 years ago
Posted by:
AngelD
18 years ago
Posted by:
aa006
18 years ago
Here you go,
MSI script, execute program from Installed files:
CA Name : install
Executable files: application.exe
Command Line Arguments: applicaton .exe/s IPAddress:port;-DL
End
IF NOT INSTALLED then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
End
InstallFinalize
End
MSI script, execute program from Installed files:
CA Name : install
Executable files: application.exe
Command Line Arguments: applicaton .exe/s IPAddress:port;-DL
End
IF NOT INSTALLED then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
End
InstallFinalize
End
Posted by:
AngelD
18 years ago
Posted by:
aa006
18 years ago
Posted by:
aa006
18 years ago
Posted by:
AngelD
18 years ago
"Not Installed" means that the CA (CustomAction) will run on installation and "REMOVE="ALL" will run on uninstallation
if the CA that runs the application.exe on install, installs something on the client you will have to add a CA on uninstallation that will reverse the action the application.exe made.
if the CA that runs the application.exe on install, installs something on the client you will have to add a CA on uninstallation that will reverse the action the application.exe made.
Posted by:
aa006
18 years ago
Correct me if i'm wrong.. here what is looks like... so i have use both statement ya
End
IF NOT Installed then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
If Remove~="ALL" then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
InstallFinalize
End
End
IF NOT Installed then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
If Remove~="ALL" then
Execute Installed Program application.exe Command line applicaton .exe /s Adress:port;DL
InstallFinalize
End
Posted by:
AngelD
18 years ago
well, not quite
if "applicaton .exe /s Adress:port;DL" will make changes to the client that command wouldn't reverse on an uninstallation just make the same changes, wouldn't it ;)
Lets make an example:
"setup.exe /install" would be used on Installation (Not Installed)
"setup.exe /remove" would be used on UnInstallation (REMOVE="ALL")
if "applicaton .exe /s Adress:port;DL" will make changes to the client that command wouldn't reverse on an uninstallation just make the same changes, wouldn't it ;)
Lets make an example:
"setup.exe /install" would be used on Installation (Not Installed)
"setup.exe /remove" would be used on UnInstallation (REMOVE="ALL")
Posted by:
aa006
18 years ago
Posted by:
AngelD
18 years ago
Posted by:
aa006
18 years ago
Posted by:
aa006
18 years ago
Posted by:
AngelD
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.