because i have a smart update program which pushes software updates to clients. but clients are also able to run .msi files directly on their PCs. i use the same msi for both uses. when it is pushed from the server i need to do different stuff. when it is run by directly clicking on it, i need to do different stuff. that is why i am asking.
I don't understand... you have an .msi that triggers the update and an .msi that installs the product but they have two completely separate functions built in the same installer? When you push an .msi doesn't it just move the file but no execution is triggered?
the actual scenario is complicated so that is why we couldnt communicate this time. i have a custom update software, it is not something provided by microsoft or some company. it is produced by us. it has three components with ftp server, windows service and windows application for administration. these components communicate using telnet. but i think i cant tell the details further because they may kick my ass thinking i share some commercial software architecture.
Hi, as I was told that my code doesn’t scale well at all, I thought perhaps I’d try to get a better understanding of interfaces/abstract classes and classes and the relationship between them.
I don’t want at this stage work on a big separate project as I've already got plenty ...
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.