Relative Content

Tag Archive for c#wpfwix

Hides paths while adding arguments in Wix installer and using them in the application

I have a WIX installer in which I have added an argument which would be furnished when setup is installing and application is opened, it will read the argument and run accordingly.
I have added this functionality for shortcut of the application.
But, I notice that shortcut properties of application has the argument written, which a user can directly edit and open the application according to a different argument.
How can I pass that argument without it being shown in the shortcut properties.

Hides paths while adding arguments in Wix installer and using them in the application

I have a WIX installer in which I have added an argument which would be furnished when setup is installing and application is opened, it will read the argument and run accordingly.
I have added this functionality for shortcut of the application.
But, I notice that shortcut properties of application has the argument written, which a user can directly edit and open the application according to a different argument.
How can I pass that argument without it being shown in the shortcut properties.